View source: R/dploadfromdatapackage.R
dploadfromdatapackage | R Documentation |
Quickly read a dataset from a Data Package
dploadfromdatapackage(path, name, ...)
path |
the directory with the Data Package |
name |
the name of the Data Resource. When omitted the Data Resource with the same name as the Data Package is read in and when no such resource exists the first Data Resource is read in. |
... |
passed on to |
This function is a wrapper around opendatapackage
and
dpgetdata
. It offers a quick way to read in a dataset from a
Data Package.
Returns a dataset. Usually a data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.