get_opp_by_date: Get tibble of filtered particles selecting by date.

View source: R/files.R

get_opp_by_dateR Documentation

Get tibble of filtered particles selecting by date.

Description

Datetime string formats should be in the form "2020-07-31 10:00".

Usage

get_opp_by_date(
  db,
  opp_dir,
  start_date,
  end_date,
  outliers = TRUE,
  col_select = NULL
)

Arguments

db

SQLite3 database file path.

opp_dir

OPP file directory.

start_date

Start date, inclusive.

end_date

End date, inclusive.

outliers

If TRUE, remove outliers. Otherwise don't perform outlier filtering.

col_select

col_select parameter passed to arrow::read_parquet as a character vector. date and file_id are always added as the first columns. By default all columns are returned.

Value

Tibble of filtered particles. If no data is found an empty tibble will be returned.


armbrustlab/popcycle documentation built on April 1, 2024, 2:41 p.m.