Learn R Programming

BARIS (version 1.1.3)

BARIS_set_fromJSON: Sets memoise cache function

Description

Uses the memoise package to set a cache function for jsonlite::fromJSON The choice of the cache folder defines where to save the local files. If not set, will use tempdir()

Usage

BARIS_set_fromJSON(cache_folder = tempdir())

Arguments

cache_folder

The local folder where to save files

Value

A memoised function

Examples

Run this code
# NOT RUN {
mem_fromJSON <- BARIS_set_fromJSON()
# }

Run the code above in your browser using DataLab