remotes
:install.packages("remotes")
remotes::install_github("davidycliao/legisTaiwan", force = TRUE)
library(legisTaiwan)
#> ## legisTaiwan ##
#> ## An R package connecting to the Taiwan Legislative API. ##
Legislative Bills Statistics
analyze_bills(stats)
#>
#> === Bill Statistics Summary ===
#> Total Bills: 132175
#> Last Updated: 2025-01-19 22:19:51
#>
#> First Five Terms Bill Count:
#> term count percentage cumulative
#> 1 11 8648 6.54 8648
#> 2 10 43029 32.55 51677
#> 3 9 30799 23.30 82476
#> 4 8 26292 19.89 108768
#> 5 7 15731 11.90 124499
#> $plot
#>
#> $summary
#> term count percentage cumulative
#> 1 11 8648 6.54 8648
#> 2 10 43029 32.55 51677
#> 3 9 30799 23.30 82476
#> 4 8 26292 19.89 108768
#> 5 7 15731 11.90 124499
#> 6 6 7617 5.76 132116
#> 7 5 59 0.04 132175
Legislative Meeting Statistics
analyze_meetings(stats)
#>
#> === Meeting Statistics Summary ===
#> Total Meetings: 7128
#>
#> Meeting Records Statistics by Term:
#> term count max_meeting_date meetdata_count 議事錄_count minutes_ratio
#> 1 11 652 2025-02-13 00:00:00 627 445 68.25
#> 2 10 2267 2024-05-17 01:00:00 2146 1602 70.67
#> 3 9 2390 2020-01-22 00:00:00 2237 1614 67.53
#> 4 8 1818 2015-12-18 00:00:00 1434 1468 80.75
#> 5 6 1 <NA> 0 1 100.00
#> last_meeting_date
#> 1 2025-02-13
#> 2 2024-05-17
#> 3 2020-01-22
#> 4 2015-12-18
#> 5 <NA>
#> $plot
#>
#> $summary
#> term count max_meeting_date meetdata_count 議事錄_count minutes_ratio
#> 1 11 652 2025-02-13 00:00:00 627 445 68.25
#> 2 10 2267 2024-05-17 01:00:00 2146 1602 70.67
#> 3 9 2390 2020-01-22 00:00:00 2237 1614 67.53
#> 4 8 1818 2015-12-18 00:00:00 1434 1468 80.75
#> 5 6 1 <NA> 0 1 100.00
#> last_meeting_date
#> 1 2025-02-13
#> 2 2024-05-17
#> 3 2020-01-22
#> 4 2015-12-18
#> 5 <NA>
Legislative Video (IVOD) Statistics
analyze_ivod(stats)
#>
#> === Video Statistics Summary ===
#> Total Videos: 89259
#> Data Period: 2005-03-14 to 2025-01-17
#>
#> Video Statistics by Term:
#> term count start_date end_date start_date_fmt
#> 1 11 10234 2024-02-05 07:00:00 2025-01-17 04:10:00 2024-02-05
#> 2 10 33852 2020-02-14 06:00:00 2024-01-09 01:00:00 2020-02-14
#> 3 9 34167 2016-02-19 01:00:00 2020-01-20 01:00:00 2016-02-19
#> 4 8 9608 2012-02-24 01:00:00 2015-12-18 01:00:00 2012-02-24
#> 5 7 1364 2008-02-29 01:00:00 2011-12-14 01:00:00 2008-02-29
#> end_date_fmt period_days avg_daily_videos
#> 1 2025-01-17 346.8819 29.50
#> 2 2024-01-09 1424.7917 23.76
#> 3 2020-01-20 1431.0000 23.88
#> 4 2015-12-18 1393.0000 6.90
#> 5 2011-12-14 1384.0000 0.99
#> $plot
#>
#> $summary
#> term count start_date end_date start_date_fmt
#> 1 11 10234 2024-02-05 07:00:00 2025-01-17 04:10:00 2024-02-05
#> 2 10 33852 2020-02-14 06:00:00 2024-01-09 01:00:00 2020-02-14
#> 3 9 34167 2016-02-19 01:00:00 2020-01-20 01:00:00 2016-02-19
#> 4 8 9608 2012-02-24 01:00:00 2015-12-18 01:00:00 2012-02-24
#> 5 7 1364 2008-02-29 01:00:00 2011-12-14 01:00:00 2008-02-29
#> 6 6 34 2005-03-23 01:00:00 2007-12-10 01:00:00 2005-03-23
#> end_date_fmt period_days avg_daily_videos
#> 1 2025-01-17 346.8819 29.50
#> 2 2024-01-09 1424.7917 23.76
#> 3 2020-01-20 1431.0000 23.88
#> 4 2015-12-18 1393.0000 6.90
#> 5 2011-12-14 1384.0000 0.99
#> 6 2007-12-10 992.0000 0.03
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.