is_linelist: Check if the object conforms to linelist expectations

View source: R/checks.R

is_linelistR Documentation

Check if the object conforms to linelist expectations

Description

This function checks if the input is a data frame and contains an 'id' column, as expected for a linelist.

Usage

is_linelist(linelist)

Arguments

linelist

The object to be checked.

Value

TRUE if the object is a data frame with an 'id' column; otherwise, stops with an error.


o2ools documentation built on June 8, 2025, 10:18 a.m.