The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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/>.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: utils, httr, jsonlite, dplyr, scales, tibble
Suggests: ggplot2, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2025-08-26
DOI: 10.32614/CRAN.package.ChinAPIs
Author: Renzo Caceres Rossi ORCID iD [aut, cre]
Maintainer: Renzo Caceres Rossi <arenzocaceresrossi at gmail.com>
BugReports: https://github.com/lightbluetitan/chinapis/issues
License: MIT + file LICENSE
URL: https://github.com/lightbluetitan/chinapis, https://lightbluetitan.github.io/chinapis/
NeedsCompilation: no
Language: en
Citation: ChinAPIs citation info
Materials: README
CRAN checks: ChinAPIs results

Documentation:

Reference manual: ChinAPIs.html , ChinAPIs.pdf
Vignettes: ChinAPIs: Access Chinese Data via Public APIs and Curated Datasets (source, R code)

Downloads:

Package source: ChinAPIs_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: ChinAPIs_0.1.0.zip, r-oldrel: ChinAPIs_0.1.0.zip
macOS binaries: r-release (arm64): ChinAPIs_0.1.0.tgz, r-oldrel (arm64): ChinAPIs_0.1.0.tgz, r-release (x86_64): ChinAPIs_0.1.0.tgz, r-oldrel (x86_64): ChinAPIs_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ChinAPIs to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.