standardize_iso: Standardize the ISO column by converting to lower case and...

View source: R/pipeline-helpers.R

standardize_isoR Documentation

Standardize the ISO column by converting to lower case and renaming to 'iso'

Description

Most of the processing functions expect ISO codes to be in lower case and in a column called ISO.

Usage

standardize_iso(d, col = "iso", delete_original = TRUE)

Arguments

d

The data to be transformed.

col

The column currently containing the iso codes (default = 'iso')

delete_original

Delete original column? Logical

Value

Tibble with the iso codes converted to lower case. If the column with the codes was not called 'iso', it will be renamed to 'iso'.


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.