dp_get_connection {datapackage} | R Documentation |
Get a connection to the data belonging to a Data Resource
Description
Get a connection to the data belonging to a Data Resource
Usage
dp_get_connection(x, ...)
Arguments
x |
Can either be a Data Resource or Data Package. |
... |
Extra arguments are passed on to |
Details
When x
is a Data Package a additional argument resource_name
is
needed to identify the correct Data Resource. See dp_get_data
.
This function calls dp_get_data
with an additional
as_connection = TRUE)
argument.
Value
Depending on the type of Data Resource a connection to the data is returned.
Some readers will return the data set as a data.frame
.
[Package datapackage version 0.2.3 Index]