get_tly_stat | R Documentation |
Retrieves statistical data from the Legislative Yuan API and parses it into a structured format. The function fetches data about bills, legislators, gazettes, meetings, and IVOD records.
get_tly_stat()
A list containing five main components:
bill - Statistics about legislative bills, including total count and term-wise breakdown
legislator - Information about legislators across different terms
gazette - Statistics about legislative gazettes and agendas
meet - Meeting statistics including counts and dates
ivod - Video recording statistics with date ranges
## Not run:
stats <- get_tly_stat()
# View total number of bills
print(stats$bill$total)
# View legislator counts by term
print(stats$legislator$terms)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.