dimension.jsonstat.compress.plan {jsonstat} | R Documentation |
dimension
Description
This function adds another dimension into compress plan
Usage
## S3 method for class 'jsonstat.compress.plan'
dimension(.plan, dim_name,
role_name = c("time", "geo", "metric", "classification", "value"),
label = NULL)
Arguments
.plan |
|
dim_name |
name of dimension |
role_name |
role of dimension |
label |
label of dimension |
Value
jsonstat.compress.plan
object
Examples
library(jsonstat)
.plan <- compress_plan("place.of.birth", "geo", "Place of Birth")
.plan <- dimension(.plan, "age.group", "classification", "Age Group")
[Package jsonstat version 0.0.2 Index]