Get time series stringency index data from JSON

get_data_time(json)

Arguments

json

A JSON string, URL or file created using get_json_time()

Value

A tibble of time series stringency index data

Examples

x <- get_json_time(from = "2020-07-18", to = "2020-07-20") get_data_time(x)
#> # A tibble: 531 x 9 #> date_value country_code country_name confirmed deaths stringency_actu… #> <date> <chr> <chr> <int> <int> <dbl> #> 1 2020-07-18 ABW Aruba 108 3 43.5 #> 2 2020-07-18 AFG Afghanistan 35289 1147 78.7 #> 3 2020-07-18 AGO Angola 638 29 76.4 #> 4 2020-07-18 ALB Albania 3906 107 63.0 #> 5 2020-07-18 AND Andorra 880 52 41.7 #> 6 2020-07-18 ARE United Arab… 56422 337 43.5 #> 7 2020-07-18 ARG Argentina 114770 2133 92.6 #> 8 2020-07-18 AUS Australia 11235 116 68.1 #> 9 2020-07-18 AUT Austria 19406 710 35.2 #> 10 2020-07-18 AZE Azerbaijan 26636 341 96.3 #> # … with 521 more rows, and 3 more variables: stringency <dbl>, #> # stringency_legacy <dbl>, stringency_legacy_disp <dbl>