Learn R Programming

nettskjemar (version 1.0.1)

ns_write_meta: 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, ...)

# S3 method for default ns_write_meta(meta, path, ...)

# S3 method for ns_meta ns_write_meta(meta, path, ...)

Value

no return value. Writes a file to path.

Arguments

meta

object of class ns_meta class

path

file name or path

...

other arguments to write_json

Examples

Run this code
if (FALSE) {
form_id <- 1100000
my_meta <- ns_get_meta(form_id)
ns_write_meta(my_meta, "my/path/meta_110000.json")
}

Run the code above in your browser using DataLab