refdb_write_fields | R Documentation |
This function can be used to save fields defined
using e.g. refdb_set_fields
to a file.
Data are saved in YAML and can be read again using the
config_yaml
argument of refdb_set_fields
.
refdb_write_fields(x, file)
x |
a reference database with some fields to be saved. |
file |
a path to the file to write. |
No return value, called for its side effects.
lib <- read.csv(system.file("extdata", "ephem.csv", package = "refdb")) tmp <- tempfile() refdb_write_fields(lib, tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.