View source: R/nettskjema-meta.R
nettskjema_write_meta | R Documentation |
Save meta-data information to a file for safe keeping. The function saves the data in json-format, which best preserves the information.
nettskjema_write_meta(meta, file, pretty = TRUE, ...)
## Default S3 method:
nettskjema_write_meta(meta, file, pretty = TRUE, ...)
## S3 method for class 'nettskjema_meta_raw'
nettskjema_write_meta(meta, file, pretty = TRUE, ...)
## S3 method for class 'nettskjema_meta_data'
nettskjema_write_meta(meta, file, pretty = TRUE, ...)
meta |
object of class nettskjema_meta class |
file |
file name or path |
pretty |
logical. If json-file should be made "pretty" |
... |
other arguments to |
no return value. Writes a file to path.
## Not run:
form_id <- 1100000
my_meta <- nettskjema_get_meta(form_id)
nettskjema_write_meta(my_meta, "my/path/meta_110000.json")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.