Description Usage Arguments Value Examples
Get policy actions data from JSON
1 2 3 | get_data_action(json)
get_data_actions(json)
|
json |
A JSON string, URL or file created using |
A tibble of policy actions with their respective policy values for specified country/countries and specified date/dates.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Get relevant JSON for Afghanistan on 16 July 2020
x <- get_json_actions(ccode = "AFG", from = NULL, to = "2020-07-16")
## Get data on policy actions
get_data_action(x)
## Get relevant JSON for Afghanistan and Philippines for whole month of
## October
x <- get_json_actions(ccode = c("AFG", "PH"),
from = "2020-10-29",
to = "2020-10-31")
## Get data on policy actions
get_data_actions(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.