Package: ChinAPIs 0.1.1

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/>.
Authors:
ChinAPIs_0.1.1.tar.gz
ChinAPIs_0.1.1.zip(r-4.7)ChinAPIs_0.1.1.zip(r-4.6)ChinAPIs_0.1.1.zip(r-4.5)
ChinAPIs_0.1.1.tgz(r-4.6-any)ChinAPIs_0.1.1.tgz(r-4.5-any)
ChinAPIs_0.1.1.tar.gz(r-4.7-any)ChinAPIs_0.1.1.tar.gz(r-4.6-any)
ChinAPIs_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
ChinAPIs/json (API)
NEWS
| # Install 'ChinAPIs' in R: |
| install.packages('ChinAPIs', repos = c('https://lightbluetitan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/lightbluetitan/chinapis/issues
Pkgdown/docs site:https://lightbluetitan.github.io
- bj_air_quality_tbl_df - Beijing Air Quality Dataset
- china_admin_divisions_df - Administrative Divisions of China
- china_cars_tbl_df - Stated Car Choice Data from Chinese Buyers
- china_corruption_tbl_df - China's Corruption Investigations
- china_io_2002_122_df - Input-output Table for China, 2002
- china_io_2005_42_df - Input-output Table for China, 2005
- china_io_2007_135_df - Input-output Table for China, 2007
- china_io_2010_41_df - Input-output Table for China, 2010
- china_io_2012_139_df - Input-output Table for China, 2012
- china_io_2015_42_df - Input-output Table for China, 2015
- china_io_2017_149_df - Input-output Table for China, 2017
- china_io_2017_42_df - China Input-Output Table
- china_io_2018_153_df - China Input-Output Table
- china_io_2018_42_df - China Input-Output Table
- china_io_2020_153_df - Input-output Table for China, 2020
- china_io_2020_42_df - China Input-Output Table
- chinese_cities_tbl_df - List of Prominent Chinese Cities
- chinese_dams_tbl_df - Chinese Dams Dataset
- COVID19_HongKong_df - COVID-19 Offspring Cases in Hong Kong
- family_name_df - Chinese Surnames and National Frequency
- given_name_df - Chinese Given Name Characters and Frequency
- health_family_life_df - Chinese Health and Family Life Survey
- hk_councillors_tbl_df - Hong Kong District Councillors Elected in 2019
- hk_districts_tbl_df - Hong Kong District Labels and Regional Classification
- hk_population_tbl_df - Hong Kong Population by District and Age Group
- hk_street_names_tbl_df - Hong Kong Street Names as of 2020
- panda_locations_df - Giant Panda Location Data
- population_df - Population Statistics from the Chinese Name Database
- sars_hong_kong_list - Daily Incidence of the 2003 SARS Epidemic in Hong Kong
- shanghai_factories_df - Per Capita Output of Workers in Shanghai Factories
- shanghai_pm25_df - PM2.5 Pollution and Weather Data in Shanghai
- top1000name_prov_df - Top 1,000 Given Names by Province in Mainland China
- top100name_year_df - Top 100 Given Names in 6 Birth Cohorts
- top50char_year_df - Top 50 Given-Name Characters in 6 Birth Cohorts
- wenchuan_ptsd_matrix - PTSD Symptoms of Wenchuan Earthquake Survivors
Last updated from:43c998fe9f. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 145 | ||
| source / vignettes | OK | 231 | ||
| linux-release-x86_64 | OK | 144 | ||
| macos-release-arm64 | OK | 106 | ||
| macos-oldrel-arm64 | OK | 111 | ||
| windows-devel | OK | 131 | ||
| windows-release | OK | 101 | ||
| windows-oldrel | OK | 101 | ||
| wasm-release | OK | 114 |
Exports:bj_air_quality_tbl_dfchina_admin_divisions_dfchina_cars_tbl_dfchina_corruption_tbl_dfchina_io_2002_122_dfchina_io_2005_42_dfchina_io_2007_135_dfchina_io_2010_41_dfchina_io_2012_139_dfchina_io_2015_42_dfchina_io_2017_149_dfchina_io_2017_42_dfchina_io_2018_153_dfchina_io_2018_42_dfchina_io_2020_153_dfchina_io_2020_42_dfchinese_cities_tbl_dfchinese_dams_tbl_dfCOVID19_HongKong_dffamily_name_dfget_china_child_mortalityget_china_cpiget_china_energy_useget_china_gdpget_china_holidaysget_china_hospital_bedsget_china_life_expectancyget_china_literacy_rateget_china_populationget_china_unemploymentget_country_info_cngiven_name_dfhealth_family_life_dfhk_councillors_tbl_dfhk_districts_tbl_dfhk_population_tbl_dfhk_street_names_tbl_dfpanda_locations_dfpopulation_dfsars_hong_kong_listshanghai_factories_dfshanghai_pm25_dftop1000name_prov_dftop100name_year_dftop50char_year_dfview_datasets_ChinAPIswenchuan_ptsd_matrix
Dependencies:askpassclicurldplyrfarvergenericsgluehttrjsonlitelabelinglifecyclemagrittrmimeopensslpillarpkgconfigR6RColorBrewerrlangscalessystibbletidyselectutf8vctrsviridisLitewithr
