Module genee::datafile

source ·
Expand description

Handling of habit databases.

Enums§

Constants§

Traits§

Functions§

  • Create a new database on the prescribed path, using the prescribed headers.
  • Calculates the date ranges according to the parameters. For example when range_size == 30, iters == 3 and from_date is today, the result is a 3-element vector containing ranges of the last 30 days, the 30 days before that, and the 30 days before the latter one.
  • Tries to read data file to memory.