add_entity_type: Adds the entity_type column to the dataset

View source: R/adding_preprocessing_functions.R

add_entity_typeR Documentation

Adds the entity_type column to the dataset

Description

Adds the entity_type column to the dataset

Usage

add_entity_type(dataset, type)

Arguments

dataset

Dataset to add column to

type

Default entity type to set as value for the column

Value

Dataset with new column consisting of "type" param added to dataset

Examples

## Not run: add_entity_type(df, "City")
## Not run: add_entity_type(df, NA)

datadrivenenvirolab/ClimActor documentation built on April 23, 2024, 7:40 a.m.