Learn R Programming

simfinR (version 0.2.3)

simfinR_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

simfinR_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 <- simfinR_set_fromJSON()

# }

Run the code above in your browser using DataLab