check_colnames: Drop punctuations in colnames

Description Usage Arguments Value

View source: R/arg_checks.R

Description

Punctuations in colnames will dropped in order to avoid errors when converting between different data types.

Usage

1
check_colnames(data_colnames, default_colname = "time_series", nb_colnames = 1)

Arguments

data_colnames

A vector of strings, colnames of the input data which need to be cleaned

default_colname

a string, default colname assigned when no colnames are defined

nb_colnames

an integer, number of colnames to check

Value

data_colnames: A vector of strings, where special symbols are dropped


xavierkamp/tsForecastR documentation built on Feb. 1, 2020, 10:16 a.m.