Learn R Programming

regions (version 0.1.8)

validate_data_frame: Validate Parameter 'dat'

Description

Validate Parameter 'dat'

Usage

validate_data_frame(
  dat,
  geo_var = NULL,
  nuts_year = NULL,
  values_var = NULL,
  method_var = NULL
)

Arguments

dat

A data frame input to be validated.

geo_var

The variable that contains the geographical codes in the NUTS typologies, defaults to code"geo_var".

nuts_year

The year of the NUTS typology to use.

values_var

The variable that contains the upstream data to be imputed to the downstream data, defaults to "values".

method_var

The variable that contains the metadata on various processing information, defaults to NULL in which case it will be returned as 'method'.

Value

A logical variable showing if all assertions were met.