An R package to fetch data from the Hong Kong Legislative Council (LegCo) APIs.

Inspired by evanodell/hansard.

Under active development.

To install this package, run:

#install.packages("devtools")
devtools::install_github("elgarteo/legco")

What it does

This R package provides access to the LegCo open data APIs in R. The functions in this package correspond to the data endpoints of the APIs.

It is recommended to also install an addon package elgarteo/legcoplus which provides functions that facilitate the use LegCo’s data.

How it works

This package compiles the correct query and request data from the following LegCo APIs:

How to use

Read the vignettes for details.

Disclaimer

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 retieved from its open data APIs.