Description Usage Arguments See Also
Writes package data and metadata to disk using the following rules for each resource:
format: If missing, path file extensions and mediatype are checked when writing. Only csv and json are supported.
path: Only single local paths are supported, and if not set, data is saved in the metadata as an inline JSON object or a formatted string.
encoding: Only the default "UTF-8" is supported.
1 | write_package(x, name = NULL, path = getwd(), inline_data = TRUE)
|
x |
Object. |
name |
(character) Package name if not set explicitly. |
path |
(character) Package directory. |
inline_data |
(logical) Whether to include the contents of |
Other package writers: as_markdown,
write_data, write_meta,
write_resource
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.