View source: R/remap_data_names.R
remap_data_names | R Documentation |
Includes code from the stack exchange network post by Dan.
remap_data_names(
this_name,
df_to_remap,
names_map,
exclude_names = c("data_name", "order", "days", "desc", "epsg")
)
this_name |
Character. Name of the data source. |
df_to_remap |
Dataframe containing the columns to select and (potentially) rename |
names_map |
Dataframe mapping old names to new names |
exclude_names |
Character. column names in namesmap to exclude from the combined data |
Tibble with select and renamed columns
Other Help with combining data sources:
get_data()
,
make_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.