Skip to content
An R package to fetch data from the Hong Kong Legislative Council APIs
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data
docs
man
vignettes
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md
_pkgdown.yml
legco.Rproj

README.md

legco: Accessing Hong Kong Legislative Council Data

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.

You can’t perform that action at this time.