get_processed_particles: Get a tibble of OPP or VCT particles

View source: R/files.R

get_processed_particlesR Documentation

Get a tibble of OPP or VCT particles

Description

Get a tibble of OPP or VCT particles

Usage

get_processed_particles(
  db,
  data_dir,
  data_type,
  file_ids = NULL,
  start_date = NULL,
  end_date = NULL,
  outliers = TRUE,
  col_select = NULL
)

Arguments

db

SQLite3 database file path.

data_dir

Directory with OPP or VCT parquet files.

data_type

"opp" or "vct".

file_ids

Vector of file IDs with julian day 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 charactr vector. date and file_id are always added to to this vector. By default all columns are returned.

Value

Tibble of OPP or VCT particles. If no data is found a tibble with zero rows will be returned.


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