# NOT RUN {
## Since all functions download data through API, these are wrapped with
## the "donttest" function as advised by CRAN
#get data for dataset ID 51 in TCdata360
# }
# NOT RUN {
df <- get_data360(dataset_id = 51)
# }
# NOT RUN {
#get data for countries USA, PHL in Govdata360
# }
# NOT RUN {
df2 <- get_data360(site = 'gov', country_iso3 = c('USA', 'PHL'))
# }
# NOT RUN {
#get data for indicator IDs 944, 972 in TCdata360
# }
# NOT RUN {
df3 <- get_data360(indicator_id = c(944, 972))
# }
# NOT RUN {
#get data for indicator IDs 944, 972 in 2011-2013 in long format in TCdata360
# }
# NOT RUN {
df4 <- get_data360(indicator_id = c(944, 972), timeframes = c(2011, 2012),
output_type = 'long')
# }
Run the code above in your browser using DataLab