Description Usage Arguments See Also Examples
New properties are added and existing properties are replaced (or deleted if NULL
). If set, properties override the defaults returned by get_package
.
1 2 3 4 | set_package(.data, name, title, description, homepage, id, profile, version,
created, sources, contributors, licenses, keywords, image, resources, ...)
set_package(.data) <- value
|
.data |
Object to modify (typically a list of data.frames). |
name |
(character) Package name. |
title |
(character) Human-readable title. |
description |
(character) Human-readable description. |
homepage |
(character) URL of the package homepage. |
id |
(character) Globally unique identifier. |
profile |
(character) Package profile (see https://specs.frictionlessdata.io/profiles/). |
version |
(character) Version specification (see http://semver.org/). |
created |
(character) ISO 8601 date and time of package creation (see https://tools.ietf.org/html/rfc3339#section-5.6). |
sources |
(list) See |
contributors |
(list) See |
licenses |
(list) See |
keywords |
(character) Keywords describing the package. |
image |
(character) URL or path relative to the package directory (see data-resource/url-or-path). |
resources |
(list) See |
... |
(name = value) Additional properties. |
value |
(named list) Package metadata (typically a call to |
Other package functions: package
1 2 3 4 5 6 7 8 | x <- set_package(
list(data = data.frame(id = 1L, value = 1.1)),
title = "Example data package"
)
get_package(x)
x <- list(data = data.frame(id = 1L, value = 1.1))
set_package(x) <- package(title = "Example data package")
get_package(x, inline_data = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.