check_my_data: Check my_data

Description Usage Arguments Examples

View source: R/check_args.R

Description

Check my_data

Usage

1
check_my_data(my_data)

Arguments

my_data

dataframe with data on variables listed in 'my_vars'. Should contain a 'id' variable that connects with units in map files and a 'date' variable.

Examples

1
2
3
4
5
6
7
8
my_vars <- data.frame(
variable = c("var1", "var2",  "var1", NA),
family = c("fam1", "fam2", "fam1", NA),
short_label = c("label1", "label2", "label1", NA),
description = c("d1", "d2", "d1", NA),
stringsAsFactors = FALSE
)
## Not run: check_my_data(my_vars)

wzb-ipi/dashdash documentation built on Aug. 30, 2020, 4:42 p.m.