clean_names {yfinancer}R Documentation

Clean table or vector of names

Description

Clean table or vector of names

Usage

clean_names(.data, unique = FALSE, minus_to_underscore = FALSE)

Arguments

.data

Data.frame or vector of column names.

unique

Should the variable names be unique?

minus_to_underscore

By default - is replaced with minus. This argument replaces the hyphen with ⁠_⁠ (underscore) instead.

Value

Returns vector if vector or data.frame if data.frame.


[Package yfinancer version 0.1.3 Index]