ChinAPIs: Access Chinese Data via Public APIs and Curated Datasets

Provides functions to access data from public RESTful APIs including 'Nager.Date', 'World Bank API', and 'REST Countries API', retrieving real-time or historical data related to China, such as holidays, economic indicators, and international demographic and geopolitical indicators. Additionally, the package includes one of the largest curated collections of open datasets focused on China and Hong Kong, covering topics such as air quality, demographics, input-output tables, epidemiology, political structure, names, and social indicators. The package supports reproducible research and teaching by integrating reliable international APIs and structured datasets from public, academic, and government sources. For more information on the APIs, see: 'Nager.Date' <https://date.nager.at/Api>, 'World Bank API' <https://datahelpdesk.worldbank.org/knowledgebase/articles/889392>, and 'REST Countries API' <https://restcountries.com/>.

Package details

AuthorRenzo Caceres Rossi [aut, cre] (ORCID: <https://orcid.org/0009-0005-0744-854X>)
MaintainerRenzo Caceres Rossi <arenzocaceresrossi@gmail.com>
LicenseMIT + file LICENSE
Version0.1.0
URL https://github.com/lightbluetitan/chinapis https://lightbluetitan.github.io/chinapis/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ChinAPIs")

Try the ChinAPIs package in your browser

Any scripts or data that you put into this service are public.

ChinAPIs documentation built on Aug. 27, 2025, 1:08 a.m.