Description Usage Arguments Details Value Examples
View source: R/merge_sources.R
Merge all sources into a single data frame with tidy names. A named vector can be provided for renaming variables.
1 | merge_sources(..., .renames = NULL, .tidy_names = TRUE, .all_char = TRUE)
|
... |
names of data dataframes to be merged |
.renames |
a named vector that contatins all renames for all datafiles |
.tidy_names |
should the names become tidy? |
.all_char |
convert all variables to character? |
For renames, c("new_name" = "old_name") format should be used.
a dataframe that contains all data sources from all files
1 2 | merge_sources(workaholism_psychinfo, workaholism_pubmed, workaholism_scopus,
.renames = c(journal = "publication"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.