createContributorCache: Create a cache of contribuor data. This allows other...

Description Usage Arguments Value

View source: R/cache.R

Description

Create a cache of contribuor data. This allows other functions to run more quickly. Data is saved internally as 'R/sysdata.rda'. This function pulls all data from the last two years.

Usage

1
createContributorCache(owner, repo, dateRange, overwrite)

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.