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.
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)
|
object |
a dataset or meta.data object to append with source information |
src |
a properly formatted source description to append, a named list |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.