compress_plan {jsonstat}R Documentation

compress plan

Description

This function constructs a plan to compress data frame into jsonstat

Usage

compress_plan(dim_name, role_name = c("time", "geo", "metric",
  "classification", "value"), label = NULL)

Arguments

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")

[Package jsonstat version 0.0.2 Index]