knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Get Started with Using remotes:

**`legisTaiwan`** is an R package for accessing [Taiwan Legislative Yuan API](https://data.ly.gov.tw/index.action). The goal of `legisTaiwan` is to make it quickly and instantly download Taiwan's legislative data, digitized textual and video records for a research project and analyze public policies.
install.packages("remotes")
remotes::install_github("davidycliao/legisTaiwan", force = TRUE)
library(legisTaiwan)
assign("has_internet_via_proxy", TRUE, environment(curl::has_internet))



Taiwan Legislative Yuan API (v2)

The Legislative Yuan API is transitioning from `https://ly.govapi.tw` to `https://v2.ly.govapi.tw`. While we are maintaining support for functions that use the legacy API, please note that the old API endpoint will eventually be deprecated. We recommend users to gradually transition to the newer API versions as they become available. - Legacy API (`ly.govapi.tw`) - Still functional but will not receive updates - New API (`v2.ly.govapi.tw`) - Current active development and maintenance

Statistical Information (統計資訊)

Legislators (立委為單位)

Bill (議案資料)

Committees (委員會資料)

Interpellation (質詢資料)

議事轉播系統 (IVOD)



Taiwan Legislative Yuan API (v1)

We will provide comprehensive guides and documentation to help you migrate to the new API endpoints.


How to Contribute

Contributions in the form of comments, code suggestions, and tutorial examples are very welcome. Please note that the `LeigsTaiwan` is released with the [Contributor Code of Conduct](https://github.com/davidycliao/legisTaiwan/blob/master/CONDUCT.md). By contributing to this project, you agree to abide by its terms.




yl17124/legisTaiwan documentation built on June 15, 2025, 12:59 a.m.