This function adds another dimension into compress plan
# S3 method for jsonstat.compress.plan dimension(.plan, dim_name, role_name = c("time", "geo", "metric", "classification", "value"), label = NULL)
jsonstat.compress.plan object
jsonstat.compress.plan
name of dimension
role of dimension
label of dimension
# NOT RUN { library(jsonstat) .plan <- compress_plan("place.of.birth", "geo", "Place of Birth") .plan <- dimension(.plan, "age.group", "classification", "Age Group") # }
Run the code above in your browser using DataCamp Workspace