R/utils.R

# IndonesiAPIs - Access Indonesian Data via Public 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_indonesia_child_mortality function
  "indicator", "country", "year", "value",

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

  # Variables of the get_indonesia_energy_use function

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

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

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

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

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

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

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

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


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

))

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

Try the IndonesiAPIs package in your browser

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

IndonesiAPIs documentation built on Sept. 9, 2025, 5:40 p.m.