R/EunomiaData.R
extractLoadData.Rd
Extract the Eunomia data files and load into a database Extract files from a .ZIP file and creates a OMOP CDM database that is then stored in the same directory as the .ZIP file.
extractLoadData(
from,
to,
dbms = "sqlite",
cdmVersion = "5.3",
inputFormat = "csv",
verbose = FALSE
)
The path to the .ZIP file that contains the csv CDM source files
The path to the .sqlite or .duckdb file that will be created
The file based database system to use: 'sqlite' (default) or 'duckdb'
The version of the OMOP CDM that are represented in the archive files.
The format of the files expected in the archive. (csv or parquet)
Provide additional logging details during execution.
No return value, called to load archive into a database file.
if (FALSE) {
extractLoadData("c:/strategusData/GiBleed_5.3.zip")
}