dpresource | R Documentation |
Modifying the resources of a Data Package
dpresource(x, resourcename)
## S3 method for class 'datapackage'
dpresource(x, resourcename)
dpresource(x, resourcename) <- value
## S3 replacement method for class 'readonlydatapackage'
dpresource(x, resourcename) <- value
## S3 replacement method for class 'editabledatapackage'
dpresource(x, resourcename) <- value
x |
a |
resourcename |
the name of a resource. |
value |
a |
When a resource with the name already exists this resource is overwritten. Therefore, the assignment operator can also be used to modify existing resources.
Either returns a Data Resource object or modifies the Data Package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.