exportDataDensityToJson | R Documentation |
exportDataDensityToJson
Exports Achilles Data Density report into a JSON form for reports.
exportDataDensityToJson(
connectionDetails,
cdmDatabaseSchema,
resultsDatabaseSchema,
outputPath,
vocabDatabaseSchema = cdmDatabaseSchema
)
connectionDetails |
An R object of type ConnectionDetail (details for the function that contains server info, database type, optionally username/password, port) |
cdmDatabaseSchema |
Name of the database schema that contains the vocabulary files |
resultsDatabaseSchema |
Name of the database schema that contains the Achilles analysis files. Default is cdmDatabaseSchema |
outputPath |
folder location to save the JSON files. Default is current working folder |
vocabDatabaseSchema |
name of database schema that contains OMOP Vocabulary. Default is cdmDatabaseSchema. On SQL Server, this should specifiy both the database and the schema, so for example 'results.dbo'. |
Creates individual files for Data Density report found in Achilles.Web
none
## Not run:
connectionDetails <- DatabaseConnector::createConnectionDetails(dbms = "sql server",
server = "yourserver")
exportDataDensityToJson(connectionDetails,
cdmDatabaseSchema = "cdm4_sim",
outputPath = "your/output/path")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.