meta_for_additive_variables: Generate tongfen metadata for additive variables

View source: R/tongfen.R

meta_for_additive_variablesR Documentation

Generate tongfen metadata for additive variables

Description

\lifecycle

maturing

Generates metadata to be used in tongfen_aggregate. Variables need to be additive like counts.

Usage

meta_for_additive_variables(dataset, variables)

Arguments

dataset

identifier for the dataset contianing the variable

variables

(named) vecotor with additive variables

Value

a tibble to be used in tongfen_aggregate

Examples

# Get metadata for additive variable Population for the CA16 and CA06 datasets
## Not run: 
meta <- meta_for_additive_variables(c("CA06","CA16"),"Population")

## End(Not run)

mountainMath/tongfen documentation built on May 5, 2023, 7:05 p.m.