Get a connection to the data belonging to a Data Resource
dp_get_connection(x, ...)
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
.
Can either be a Data Resource or Data Package.
Extra arguments are passed on to dp_get_data
.
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.