Description Usage Arguments Examples
View source: R/hydro_shortening.R
Shortening column names of hydrological parameters to improve the readability of downloaded dataset and removing duplicated column names
1 | hydro_shortening(data, col_names = "short", remove_duplicates = TRUE)
|
data |
downloaded dataset with original column names |
col_names |
three types of column names possible: "short" - default, values with shorten names, "full" - full English description, "polish" - original names in the dataset |
remove_duplicates |
whether to remove duplicated column names (default TRUE - i.e., columns with duplicated names are deleted) |
1 2 3 4 | monthly <- hydro_monthly(year = 1969)
colnames(monthly)
abbr <- hydro_shortening(data = monthly, col_names = "polish", remove_duplicates = TRUE)
head(abbr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.