gether_core_data_parallel: Gather variables from core information over multiple core...

gether_core_data_parallelR Documentation

Gather variables from core information over multiple core tables (in parallel)

Description

Gather variables from core information over multiple core tables (in parallel)

Usage

gether_core_data_parallel(
  collect_tab = collect_table(),
  vars = c(),
  db_path,
  collect_n = Inf,
  num_cores = NULL
)

Arguments

collect_tab

A tibble with the specific setting (i.e. inpatient or outpatient), source (i.e. ccae or mdcr), and year to access. Default is all possible combinations of setting, source, and year

vars

Vector of variables it the core table to return

db_path

Path to the database

collect_n

The number of observations to return

num_cores

The number of worker cores to use. If not specified will determined the number of cores based on the which ever is the smallest value between number of rows in for collect_tab or detected number of cores - 1

Value

A tibble with all the specified variables to return over all designated core tables


aarmiller/smallDB documentation built on March 29, 2024, 9:37 a.m.