add_source: Add source information to data in R

Description Usage Arguments

View source: R/constructors.R

Description

This function will add source data to a data object in R. If source data already exists, it will modify the source data appropriately. If source data does not exist, it will convert the object to a metaframe, and append the source data correctly.

Usage

1
2
3
4
5
6
7
add_source(object, src)

## S3 method for class 'meta.data'
add_source(object, src)

## S3 method for class 'metaframe'
add_source(object, src)

Arguments

object

a dataset or meta.data object to append with source information

src

a properly formatted source description to append, a named list


jknowles/metaframe documentation built on May 19, 2019, 11:43 a.m.