getRecordName: Get the data contents of a datapkg object as a data frame

Description Usage Arguments Value Examples

View source: R/exports.r

Description

Get the contents of a data package as a data frame

Usage

1
getRecordName(dp, dtIdx = 1)

Arguments

dp

Input datapackage

dtIdx

Index of the resource to get the data frame from. Defaults to 1.

Value

data frame

Examples

1
2
3
4
5
## Not run: 
dp <- newDatapkg(mtcars)
getDataframe(dp, withNames=TRUE)

## End(Not run)

jpmarindiaz/datapackager documentation built on May 19, 2019, 10:46 p.m.