{"id":27432270,"url":"https://github.com/elgarteo/legco","last_synced_at":"2025-04-14T16:33:58.027Z","repository":{"id":50376775,"uuid":"190210032","full_name":"elgarteo/legco","owner":"elgarteo","description":"R bindings for the Hong Kong Legislative Council API R中使用香港立法會開放數據應用程式介面","archived":false,"fork":false,"pushed_at":"2022-10-28T11:33:13.000Z","size":1625,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-10-25T13:35:40.541Z","etag":null,"topics":["hongkong","legco","opendata","parliament","politics"],"latest_commit_sha":null,"homepage":"https://elgarteo.github.io/legco/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elgarteo.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-04T13:43:55.000Z","updated_at":"2023-06-05T07:22:54.000Z","dependencies_parsed_at":"2022-08-26T10:21:36.791Z","dependency_job_id":null,"html_url":"https://github.com/elgarteo/legco","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgarteo%2Flegco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgarteo%2Flegco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgarteo%2Flegco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgarteo%2Flegco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgarteo","download_url":"https://codeload.github.com/elgarteo/legco/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248916695,"owners_count":21182849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hongkong","legco","opendata","parliament","politics"],"created_at":"2025-04-14T16:31:33.326Z","updated_at":"2025-04-14T16:33:58.021Z","avatar_url":"https://github.com/elgarteo.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# legco: Accessing Hong Kong Legislative Council Data\n\n\u003c!-- badges: start --\u003e\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/legco)](https://cran.r-project.org/package=legco)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\u003c!-- badges: end --\u003e\n\nR bindings for the Hong Kong Legislative Council (LegCo) API. \n\n本套件提供能在R中直接透過香港立法會開放數據應用程式介面擷取數據的函數。\n\nTo install this package, run:\n\n```{r eval=FALSE}\ninstall.packages(\"legco\")\n\n# To install the development version:\n#install.packages(\"devtools\")\ndevtools::install_github(\"elgarteo/legco\")\n```\n\n## What it does\n\nThis R package provides access to the LegCo open data API in R. The functions in this package \ncorrespond to the data endpoints of the API.\n\n## How it works\n\nThis package compiles the correct query and requests data from the following databases of the LegCo API:\n\n* [Bills Database](https://www.legco.gov.hk/en/open-legco/open-data/bills-database.html)\n* [Hansard Database](https://www.legco.gov.hk/en/open-legco/open-data/hansard-database.html)\n* [Meeting Attendance Database](https://www.legco.gov.hk/en/open-legco/open-data/meeting-attendance.html)\n* [Meeting Schedule Database](https://www.legco.gov.hk/en/open-legco/open-data/meeting-schedule.html)\n* [Voting Result Database](https://www.legco.gov.hk/en/open-legco/open-data/voting-result-database.html)\n\n## How to use\n\nRead the [vignettes](https://elgarteo.github.io/legco/) for details.\n\n## Disclaimer\n\nThis package is not affiliated or endorsed by the Legislative Council of Hong Kong. \n\nThe Legislative Council of Hong Kong is the copyright owner of data retrieved from its open data API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgarteo%2Flegco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgarteo%2Flegco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgarteo%2Flegco/lists"}