Description Usage Arguments Value Examples
Get policy actions and stringency data from JSON
1 | get_data(json)
|
json |
A JSON string, URL or file created using |
A tibble of time series stringency index data if json
is a time
series endpoint or a named list of two tibbles (the first tibble is
named policyActions
and the second tibble is named stringencyData
) if
json
is a policy actions endpoint.
1 2 3 4 5 6 7 8 9 10 11 | ## Get time series JSON endpoint
x <- get_json_time(from = "2020-10-29", to = "2020-10-31")
## Get time series stringency index data
get_data(x)
## Get policy actions JSON endpoint
x <- get_json_actions(ccode = "AFG", from = NULL, to = "2020-07-16")
## Get data on policy actions and stringency index
get_data(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.