get_local: Get value from local storage based on key

Description Usage Arguments Examples

View source: R/cache_get.r

Description

Get value from local storage based on key

Usage

1
get_local(cache, key, path = "~/")

Arguments

cache

Logical

key

Key from url + args

Examples

1
2
3
4
5
6
## Not run: 
key = "http://api.plos.org/search?q=author:Ethan%20White&rows=1&wt=json"
path = "~/scottscache"
golocal2(TRUE, key, path)

## End(Not run)

ropensci/mocker documentation built on May 16, 2018, 7:01 a.m.