# NOT RUN {
# Run countries_list() to display the full list of countries
# For the example Chile is "chl" and China is "chn"
# Download trade between Chile and China
# Year 2016 (HS92 4 characters)
# getdata("chl", "chn", 2016)
# getdata("chl", "chn", 2016, 1) # equivalent to last command
# Download trade between Chile and China
# Year 2016 (SITC rev2 4 characters)
# getdata("chl", "chn", 2016, 2)
# Download trade between Chile and China
# Year 2016 (HS92 6 characters)
# getdata("chl", "chn", 2016, 3)
# }
Run the code above in your browser using DataLab