enviSave: Saves data in rds format and adds a yaml metadata file.

Description Usage Arguments Examples

View source: R/enviSave.R

Description

Saves data in rds format and saves metadata in a corresponding yaml file.

Usage

1
enviSave(variable, file_path, meta)

Arguments

variable

name of the data variable to be saved.

file_path

name and path of the rds file.

meta

name of the metadata list.

Examples

1
2
3
4
5
6
## Not run: 
a <- 1
meta <- list(a = "a is a variable")
enviSave(a, file.path(tempdir(), "test.rds"), meta)

## End(Not run)

envima/envimaR documentation built on July 18, 2021, 1:40 p.m.