Description Usage Arguments Value Examples
View source: R/generic_data_functions.R
Takes two or more data.frames with different column names or different column orders and binds them to a single data.frame.
1 | merge_columns(x, y)
|
x |
Either a data.frame or a list of data.frames. |
y |
A data.frame, optional if x is a list. |
Returns a single data.frame with all the input data frames merged.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | df_1 <- data.frame(
title = c(
"EviAtlas: a tool for visualising evidence synthesis databases",
"revtools: An R package to support article screening for evidence synthesis"
),
year = c("2019", "2019")
)
df_2 <- data.frame(
title = c(
"An automated approach to identifying search terms for systematic reviews",
"Reproducible, flexible and high-throughput data extraction from primary literature"
),
authors = c("Grames et al", "Pick et al")
)
merge_columns(df_1, df_2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.