R bindings for the Hong Kong Legislative Council (LegCo) API.
本套件提供能在R中直接透過香港立法會開放數據應用程式介面擷取數據的函數。
To install this package, run:
install.packages("legco")
# To install the development version:
#install.packages("devtools")
devtools::install_github("elgarteo/legco")
This R package provides access to the LegCo open data API in R. The functions in this package correspond to the data endpoints of the API.
It is recommended to also install an add-on package elgarteo/legcoplus which provides functions that facilitate the use of LegCo’s data.
This package compiles the correct query and requests data from the following databases of the LegCo API:
Read the vignettes for details.
This package is not affiliated or endorsed by the Legislative Council of Hong Kong.
The Legislative Council of Hong Kong is the copyright owner of data retrieved from its open data API.