match_names: Matching original names with forecast_pack formulations

View source: R/match_names.R

match_namesR Documentation

Matching original names with forecast_pack formulations

Description

This function will receive a dataset and a vector of all names of variables from dataset that is used in the forecast_pack, and matches them using any parameterization that we currently use at 4i (either front or api).

Usage

match_names(dataset, names_fp)

Arguments

dataset

dataset with names to be matched with names_fp.

names_fp

names of variables to match in the dataset.

Details

For variables not found in names_fp, we apply the api parameterization, to make sure we have clean names.

Value

The dataset with matched names.

See Also

chartr

Examples

## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

4intelligence/faas4i documentation built on April 14, 2025, 2:09 a.m.