exportVisitToJson: exportVisitToJson

Description Usage Arguments Details Value Examples

View source: R/exportToJson4Impala.R View source: R/exportToJson.R

Description

exportVisitToJson Exports Achilles Visit report into a JSON form for reports.

Usage

1
2
exportVisitToJson(connectionDetails, cdmDatabaseSchema, resultsDatabaseSchema,
  outputPath = getwd(), cdmVersion = "4")

Arguments

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

A folder location to save the JSON files. Default is current working folder

Details

Creates individual files for Visit report found in Achilles.Web

Value

none

Examples

1
2
3
4
5
## Not run: 
  connectionDetails <- createConnectionDetails(dbms="sql server", server="yourserver")
  exportVisitToJson(connectionDetails, cdmDatabaseSchema="cdm4_sim", outputPath="your/output/path")

## End(Not run)

hxia/Achilles4Impala documentation built on May 17, 2017, 12:06 a.m.