extractLoadData | R Documentation |
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
)
from |
The path to the .ZIP file that contains the csv CDM source files |
to |
The path to the .sqlite or .duckdb file that will be created |
dbms |
The file based database system to use: 'sqlite' (default) or 'duckdb' |
cdmVersion |
The version of the OMOP CDM that are represented in the archive files. |
inputFormat |
The format of the files expected in the archive. (csv or parquet) |
verbose |
Provide additional logging details during execution. |
No return value, called to load archive into a database file.
downloadEunomiaData
## Not run:
extractLoadData("c:/strategusData/GiBleed_5.3.zip")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.