An Example of the Records of the Bills
First, we’ll import legisTaiwan. Next, we’ll retrieve data from
September 23rd in the Republic of China year 111 to January 19th in the
Republic of China year 112. Unlike the date parameter in get_bills(), it
needs to be formatted as a Republic of China year in a string with “/”.
The reason is due to inconsistencies in the API’s parameter design. In
the next version, 0.2 and above, we aim to overcome this issue and unify
the date format within the legisTaiwan
framework.
library(legisTaiwan)
#> ## legisTaiwan ##
#> ## An R package connecting to the Taiwan Legislative API. ##
caucus_df <- get_caucus_meetings(start_date = "111/09/23", end_date = "112/01/19", verbose = FALSE)
caucus_df$data
#> # A tibble: 68 × 15
#> comYear comVolume comBookId term sessionPeriod sessionTimes
#> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 103 43 "四" 08 05 12
#> 2 103 43 "四" 08 05 12
#> 3 107 87 "" 09 06 05
#> 4 107 87 "" 09 06 05
#> 5 107 87 "" 09 06 05
#> 6 111 101 "下" null null null
#> 7 111 101 "下" null null null
#> 8 111 104 "" 10 06 08
#> 9 111 104 "" 10 06 08
#> 10 111 104 "" 10 06 08
#> # ℹ 58 more rows
#> # ℹ 9 more variables: meetingTimes <chr>, meetingDate <chr>,
#> # meetingName <chr>, subject <chr>, pageStart <chr>, pageEnd <chr>,
#> # docUrl <chr>, htmlUrl <chr>, selectTerm <chr>