Skip to contents

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 write_json

Value

no return value. Writes a file to path.

Examples

if (FALSE) { # \dontrun{
form_id <- 1100000
my_meta <- ns_get_meta(form_id)
ns_write_meta(my_meta, "my/path/meta_110000.json")
} # }