get_data_action | R Documentation |
Get policy actions data from JSON
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.
## 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-30") ## 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.