create_alias: Generates a syntactically-correct R name based on a SAGA-GIS...

View source: R/parameters.R

create_aliasR Documentation

Generates a syntactically-correct R name based on a SAGA-GIS identifier

Description

SAGA-GIS identifiers sometimes cannot represent syntactically-correct names in R because they start with numbers or have spaces. They are also all in uppercase which is ugly to refer to in code. This function creates an alternative/alias identifier.

Usage

create_alias(identifier)

Arguments

identifier

A character with the identifier.

Value

A character with a syntactically-correct alias.


stevenpawley/RSAGA5 documentation built on March 26, 2024, 5:30 a.m.