Description Usage Arguments Value Examples
Get the contents of a data package as a data frame
| 1 | setDataframe(dp, df, dtIdx = 1)
 | 
| dp | Input datapackage | 
| dtIdx | Index of the resource to get the data frame from. Defaults to 1. | 
data frame
| 1 2 3 4 5 | ## Not run: 
dp <- newDatapkg(mtcars)
getDataframe(dp, withNames=TRUE)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.