dpgetconnection: Get a connection to the data belonging to a Data Resource

View source: R/dpgetconnection.R

dpgetconnectionR 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

dpgetconnection(x, ...)

Arguments

x

Can either be a Data Resource or Data Package.

...

Extra arguments are passed on to dpgetdata.

Details

When x is a Data Package a additional argument resourcename is needed to identify the correct Data Resource. See dpgetdata.

This function calls dpgetdata 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.


djvanderlaan/datapackage documentation built on March 18, 2024, 4:57 p.m.