looker.chunker: looker.chunker

Description Usage Arguments Value

Description

This function takes a looker query and chops it up into smaller portions, ideally to improve runtime. The looker dictionary must only have two date fields, and they must be sequentially ordered so start.date comes first.

Usage

1
2
looker.chunker(looker.path, data.path, start.date, end.date,
  interval = "1 month")

Arguments

looker.path

- The path to the file that contains the looker dictionary

data.path

- The path to your data dump

start.date

- The start date of the query

end.date

- The end date of the query.

interval

- String input for the interval size. See the 'by' input parameter from seq()

Value

Returns null. The function writes out the data frames to data.path.


christiantillich/AnaliTools documentation built on May 13, 2019, 6:59 p.m.