createCache: Create a cache of data. This allows functions to run more...

Description Usage Arguments Value

View source: R/cache.R

Description

Create a cache of data. This allows functions to run more quickly. Data is saved internally to the package as 'R/sysdata.rda'. Currently, data cache only contains contributor data.

Usage

1
createCache(owner, repo, dateRange, overwrite = FALSE)

Arguments

owner

The owner of the repository that the blog lives in.

repo

The repository name.

dateRange

A vector of two dates in yyyy-mm-dd format. Can be strings or date objects. Order doesn't matter.

overwrite

TRUE/FALSE. If TRUE, overwrites current data cache. If FALSE, will not overwrite current cache. If there is no existing cache this argument does nothing.

Value

A dataframe


FredHutch/coopMetrics documentation built on June 7, 2021, 7:45 a.m.