
Last chance! 50% off unlimited learning
Sale ends in
exportDataDensityToJson
Exports Achilles Data Density report into a JSON form for reports.
exportDataDensityToJson(connectionDetails, cdmDatabaseSchema,
resultsDatabaseSchema, outputPath = getwd(),
vocabDatabaseSchema = cdmDatabaseSchema)
An R object of type ConnectionDetail (details for the function that contains server info, database type, optionally username/password, port)
Name of the database schema that contains the vocabulary files
Name of the database schema that contains the Achilles analysis files. Default is cdmDatabaseSchema
A folder location to save the JSON files. Default is current working folder
string 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'.
none
Creates individual files for Data Density report found in Achilles.Web
# NOT RUN {
connectionDetails <- DatabaseConnector::createConnectionDetails(dbms="sql server", server="yourserver")
exportDataDensityToJson(connectionDetails, cdmDatabaseSchema="cdm4_sim", outputPath="your/output/path")
# }
Run the code above in your browser using DataLab