rtry_bind_row | R Documentation |
This function takes a list of data frames or data tables and combines them by rows, it adds the rows of the second data below the rows of the first one.
rtry_bind_row(..., showOverview = TRUE)
... |
A list of data frames or data tables to be combined by rows. |
showOverview |
Default |
An object of the same type as the first input. The object will contain a column if that column appears in any of the inputs.
A common attribute is not necessary (difference to the function rtry_join_left
and rtry_join_outer
):
the binding process simply puts the data one after another while matching the column names, and any missing columns will be
filled with NA
.
This function makes use of the bind_rows
function within the dplyr
package.
rtry_bind_col
, rtry_join_left
, rtry_join_outer
# Combine the two provided sample data (data_TRY_15160 and data_TRY_15161)
data <- rtry_bind_row(data_TRY_15160, data_TRY_15161)
# Expected message:
# dim: 6409 28
# col: LastName FirstName DatasetID Dataset SpeciesName AccSpeciesID AccSpeciesName
# ObservationID ObsDataID TraitID TraitName DataID DataName OriglName
# OrigValueStr OrigUnitStr ValueKindName OrigUncertaintyStr UncertaintyName
# Replicates StdValue UnitName RelUncertaintyPercent OrigObsDataID ErrorRisk
# Reference Comment V28
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.