legisTaiwan
is designed to download the real-time archives of Taiwan
legislative data easily. This package includes many streamlined
functions to access Taiwan Legislative Yuan
API in R without any hassle or
runarounds.
Get Started with Using remotes
:
install.packages("remotes")
remotes::install_github("davidycliao/legisTaiwan", force = TRUE)
library(legisTaiwan)
#> ## legisTaiwan ##
#> ## An R package connecting to the Taiwan Legislative API. ##
legisTaiwan
requires a stable internet connection to retrieve data
from the API. While most functions can fetch data spanning a long
period, they tend to be bandwidth-intensive due to the size of the
datasets. If you plan to download data over an extended period, I
recommend using get_variable_info() first to verify the current file
sizes on the API manual. Also, consider writing a batch retrieval
process with appropriate handlers to track the progress of file input,
ensuring the completeness of the requested data.