ns_write_meta: Write meta-data to file

View source: R/ns-meta.R

ns_write_metaR 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 write_json

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)

LCBC-UiO/nettskjemar documentation built on April 11, 2025, 11:01 p.m.