# NOT RUN {
## Get JSON for Afghanistan at 7 days previous to current date
get_json_actions(ccode = "AFG",
from = NULL,
to = as.character(Sys.Date() - 7))
## Get JSON for Afghanistan and Philippines from 1 October to 31 October 2020
get_json_actions(ccode = c("Afghanistan", "PH"),
from = "2020-10-01", to = "2020-10-31")
## Get JSON time series endpoint for all data available from OxCGRT
get_json_time()
# }
Run the code above in your browser using DataLab