# NOT RUN {
# The next examples can take more than 5 seconds to compute, and specially for large economies so
# these are just shown without evaluation according to CRAN rules
# Run `country_codes` to display the full table of countries
# What does Chile export to China?
# years 2010 to 2015 - SITC (4 characters)
getdata_batch("chl", "chn", 2010, 2015)
# or with explicit parameters
getdata_batch("chl", "chn", 2010, 2015, "sitc", 1)
# What does Chile export to China?
# years 2010 to 2015 - HS07 (4 and 6 characters)
getdata_batch("chl", "chn", 2010, 2015, "hs07")
# What does Chile export to China?
# years 2010 and 2012 - HS07 (4 and 6 characters)
getdata_batch("chl", "chn", 2010, 2012, "hs07", 2)
# }
Run the code above in your browser using DataLab