Skip to contents

Maps facility.csv into the OMOP CDM care_site table if present and/or seeds a root care site for the institution if site_id is supplied.

Usage

load_care_site(
  con,
  source_dir,
  site_id = NULL,
  site_anon = NULL,
  site_name = NULL
)

Arguments

con

Active DuckDB DBI connection.

source_dir

Directory containing PCORnet source CSVs.

site_id

Optional numeric site identifier.

site_anon

Optional publication pseudonym (e.g. "Site A").

site_name

Optional institutional name or internal descriptor.

Value

Invisibly, con.