validate_data_frame: Validate Parameter 'dat'

Description Usage Arguments Value

View source: R/assertions.R

Description

Validate Parameter 'dat'

Usage

1
2
3
4
5
6
7
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.


regions documentation built on June 21, 2021, 5:06 p.m.