View source: R/ots_read_from_api.R
| ots_read_from_api | R Documentation |
Accesses api.tradestatistics.io and
performs different API calls to return data.frames by reading
JSON data. The parameters here are passed from
ots_create_tidy_data.
ots_read_from_api(
year = NULL,
importer = NULL,
exporter = NULL,
sector = "all",
industry = "all",
table = "itpde_imp",
max_attempts = 5
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.