Calculate OxCGRT economic support index
calculate_economic_support(df)
| df | A data.frame produced by a call to |
|---|
A numeric value for mean index scores for economic support index.
Ernest Guevarra
x <- get_data(json = get_json_actions(ccode = "AFG", from = NULL, to = "2020-09-01")) y <- calculate_subindices(df = x$policyActions) calculate_economic_support(df = y)#> [1] 0