CausataToRNames: Converts Causata system names to R-friendly column names.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Causata system names are converted to R-friendly column names in a reversible way.

Usage

1
CausataToRNames(name.vector)

Arguments

name.vector

A character vector of Causata system names. E.g. c("total-spend$All Past")

Details

Causata system names may include lowercase letters, numbers, and dashes. Dashes (-)are not allowed in R names, so they are mapped to dots (.).

Causata uses a dollar sign ($) to separate a system name and a time domain. Dollar signs are not allowed in R names, so they are mapped to a double underscore (__).

Value

A list, mapping each input name to the corresponding R name.

Author(s)

David Barker <[email protected]>

See Also

CausataData, CausataVariable, RToCausataNames.

Examples

1
CausataToRNames(c("variable-name$Time Domain"))

Causata documentation built on May 2, 2019, 3:26 a.m.