check_dat_input: Check dat input parameter

Description Usage Arguments Value

View source: R/utils.R

Description

Check dat input parameter

Usage

1
check_dat_input(dat, geo_var, values_var)

Arguments

dat

Eurostat data frame or a data frame derived from create_indicator or create_tables.

geo_var

The name of the variable that contains the standard geo codes. It defaults to "geo".

values_var

The name of the variable that contains the values To be mapped. It defaults to "values". If the data you want to see on map is in the column average_values, than use "average_values". The values can be numeric or categorical variables.

Value

The function does not return a value, but creates a meaningful error message if the dat parameter is non-conforming.


antaldaniel/satellitereport documentation built on Aug. 7, 2020, 8:37 a.m.