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,
reporter_iso = NULL,
partner_iso = NULL,
commodity_code = "all",
section_code = "all",
table = "yr",
max_attempts = 5
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.