tsl_colnames_get | R Documentation |
Get Column Names from a Time Series Lists
tsl_colnames_get(tsl = NULL, names = c("all", "shared", "exclusive"))
tsl |
(required, list) Time series list. Default: NULL |
names |
(optional, character string) Three different sets of column names can be requested:
|
list
Other tsl_management:
tsl_burst()
,
tsl_colnames_clean()
,
tsl_colnames_prefix()
,
tsl_colnames_set()
,
tsl_colnames_suffix()
,
tsl_count_NA()
,
tsl_diagnose()
,
tsl_handle_NA()
,
tsl_join()
,
tsl_names_clean()
,
tsl_names_get()
,
tsl_names_set()
,
tsl_names_test()
,
tsl_ncol()
,
tsl_nrow()
,
tsl_repair()
,
tsl_subset()
,
tsl_time()
,
tsl_to_df()
#generate example data
tsl <- tsl_simulate()
#list all column names
tsl_colnames_get(
tsl = tsl,
names = "all"
)
#change one column name
names(tsl[[1]])[1] <- "new_column"
#all names again
tsl_colnames_get(
tsl = tsl,
names = "all"
)
#shared column names
tsl_colnames_get(
tsl = tsl,
names = "shared"
)
#exclusive column names
tsl_colnames_get(
tsl = tsl,
names = "exclusive"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.