ns_write_meta {nettskjemar} | R Documentation |
Write meta-data to file
Description
Save meta-data information to a file for safe keeping. The function saves the data in json-format, which best preserves the information.
Usage
ns_write_meta(meta, path, ...)
## Default S3 method:
ns_write_meta(meta, path, ...)
## S3 method for class 'ns_meta'
ns_write_meta(meta, path, ...)
Arguments
meta |
object of class ns_meta class |
path |
file name or path |
... |
other arguments to |
Value
no return value. Writes a file to path.
Examples
## Not run:
form_id <- 1100000
my_meta <- ns_get_meta(form_id)
ns_write_meta(my_meta, "my/path/meta_110000.json")
## End(Not run)
[Package nettskjemar version 1.0.2 Index]