R/utils.R

# ChinAPIs - Access Chinese Data via APIs and Curated Datasets
# Version 0.1.0
# Copyright (c) 2025 Renzo Caceres Rossi
# Licensed under the MIT License.
# See the LICENSE file in the root directory for full license text.

# utils.R


utils::globalVariables(c(


  # Variables of the get_china_child_mortality function
  "indicator", "country", "year", "value",

  # Variables of the get_china_cpi() function
  "indicator", "country", "year", "value",


  # Variables of the get_china_energy_use function

  "indicator","country","year","value",

  # Variables of the get_china_gdp function
  "indicator","country","year","value","value_label",

  # Variables of the get_china_holidays function
  "date","local_name","name",

  # Variables of the get_china_hospital_beds function
  "indicator","country","year","value",

  # Variables of the get_china_life_expectancy function
  "indicator","country","year","value",

  # Variables of the get_china_literacy_rate function
  "indicator","country","year","value",

  # Variables of the get_china_population function
  "indicator","country","year","value","value_label",

  # Variables of the get_china_unemployment function
  "indicator","country","year","value",


  # Variables of the get_country_info_cn function
  "name_common","name_official","region","subregion","capital","area","population","languages"

))

utils::globalVariables(c("data"))

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.