is_lookup_table: Is data frame a lookup table?

View source: R/link_network_map.R

is_lookup_tableR Documentation

Is data frame a lookup table?

Description

Checks whether a data.frame is a valid lookup table.

Usage

is_lookup_table(lkp, m_name = NULL, n_name = NULL)

Arguments

lkp

A data.frame.

m_name

Optional, a character string with the name of the column in lkp to check against m.

n_name

Optional, a character string with the name of the column in lkp to check against n.

Value

FALSE on error, a vector with m_name and n_name if the lookup table is valid.


netmap documentation built on May 29, 2024, 11:10 a.m.