should.refresh.data: Should refresh data

Description Usage Arguments Value

Description

Ascertain whether the SQL query should be rerun

Usage

1
2
should.refresh.data(name, subs = NULL, data.dir = "data", daily = FALSE,
  overwrite = FALSE)

Arguments

name

name of query

subs

One row data frame whose column names are the substrings to replace, and whose values are the strings to replace them with.

data.dir

Query results directory. Stores the results of the SQL queries as RDS files.

daily

Boolean to indicate whether to force a rerun of the query on first execution each day.

overwrite

Boolean to indicate whether to force a rerun of the query.

Value

Boolean indicating whether the SQL query should be rerun


ndesmo/rquery documentation built on May 7, 2019, 9:43 p.m.