Learn R Programming

tongfen (version 0.3.6)

meta_for_additive_variables: Generate tongfen metadata for additive variables

Description

lifecycle::badge("maturing")

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

Usage

meta_for_additive_variables(dataset, variables)

Value

a tibble to be used in tongfen_aggregate

Arguments

dataset

identifier for the dataset contianing the variable

variables

(named) vecotor with additive variables

Examples

Run this code
# Get metadata for additive variable Population for the CA16 and CA06 datasets
if (FALSE) {
meta <- meta_for_additive_variables(c("CA06","CA16"),"Population")
}

Run the code above in your browser using DataLab