check_columns_in_data: Check columns in data

View source: R/DataContentsCheck.R

check_columns_in_dataR Documentation

Check columns in data

Description

For many of the functions to work, we need to ensure that the correct columns are present in the tibble. This function checks whether the columns are present, both for looped, and individual columns

Usage

check_columns_in_data(
  data,
  loop_columns = NULL,
  individual_columns = NULL,
  warning_message = NULL
)

Arguments

data

The dataset which needs checking

loop_columns

The columns which are contained in a loop

individual_columns

The columns which appear individually

warning_message

The warning message (perhaps the name of the function you are calling) to indicate where the problem may be happening. A warning message will already be included if the data is missing. This warning information can be supplied to give some context

Details

Rpackage file: DataContentsCheck.R


l-gorman/rhomis-R-package documentation built on Nov. 8, 2023, 6:46 a.m.