Skip to contents

Given a Google Sheet ID, fetches the subscriber data, cleans it, and caches it so that it doesn't need to be fetched again.

Usage

b2n_fetch_subscribers(
  sheet_id = NULL,
  cache = "_blog2newsletter",
  force_fetch = FALSE,
  cache_timeout = 168
)

Arguments

sheet_id

either a Google Sheets URL or ID

cache

where to cache the subscriber data

force_fetch

override the cache, and force it to fetch from the web

cache_timeout

how old should the cache be before definitely getting it from the web

Value

tibble