Learn R Programming

vvmover (version 1.6.0)

is_field_subset: Check if Field is Subset

Description

This function checks if a field is a subset. We define a subset as a character field that contains fewer than 20 unique values.

Usage

is_field_subset(field_name, df, column_names, column_types)

Arguments

field_name

Name of the field to check.

df

Dataframe to check.

column_names

Set that the field is part of.

column_types

Types that belong to the column names.