jsonEnv: Create R Environment from JSON File

Description Usage Arguments Value Examples

View source: R/jsonEnv.R

Description

This function allows one to scrape fields from a .json file to create an environment in R containing the same key value pairs seen in the file.

Usage

1
jsonEnv(json, global = TRUE)

Arguments

json

A string to a .json file containing the environmental variables.

global.

A boolean indicating whether the variables are to be loaded into the existing environment or returned as an object. Defaults to TRUE.

Value

NULL. Creates an R environment.

Examples

1
2
3
4
## Not run: 
jsonEnr("environment.json")

## End(Not run)

frank113/enviRonmental documentation built on May 14, 2019, 5:13 a.m.