c.DATRASraw {DATRAS}R Documentation

Combine multiple DATRASraw objects

Description

Method to combine many datasets

Usage

  ## S3 method for class 'DATRASraw'
 c(...)

Arguments

...

DATRASraw objects to put together.

Details

This function combines DATRASraw objects by rbinding each of the three components of the objects. The method is useful when downloading large amounts of data in small chunks. If the same haul.id is present within different datasets the method will stop. If a variable name is only present in some of the datasets, the variable will be added to the remaining datasets (filled with NA) and a warning will be triggered.

Value

Merged dataset.

Examples


x <- readExchange(file1)
y <- readExchange(file2)
z <- c(x,y)

[Package DATRAS version 1.0 Index]