Skip to contents

Check a data.frame

Usage

check_dataframe(dataframe, req_vars, req_types, rows)

Arguments

dataframe

A data.frame to check.

req_vars

A character vector of variables that are required.

req_types

A character vector of types for each required variable.

rows

Integer specifying the number of rows the data.frame should have.

See also

Functions used for checking inputs check_observations(), check_param(), check_quantiles()