powered by
exportToJson Exports Achilles statistics into a JSON form for reports.
exportToJson
exportToJson(connectionDetails, cdmDatabaseSchema, resultsDatabaseSchema, outputPath = getwd(), reports = allReports, cdmVersion = "4")
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
A character vector listing the set of reports to generate. Default is all reports. See data(allReports) for a list of all report types
data(allReports)
none
Creates individual files for each report found in Achilles.Web
# NOT RUN { connectionDetails <- createConnectionDetails(dbms="sql server", server="yourserver") exportToJson(connectionDetails, cdmDatabaseSchema="cdm4_sim", outputPath="your/output/path") # }
Run the code above in your browser using DataLab