Learn R Programming

Achilles (version 1.6.3)

fetchAchillesHeelResults: fetchAchillesHeelResults

Description

fetchAchillesHeelResults retrieves the AchillesHeel results for the AChilles analysis to identify potential data quality issues.

Usage

fetchAchillesHeelResults(connectionDetails, resultsDatabaseSchema)

Arguments

connectionDetails

An R object of type connectionDetails created using the function createConnectionDetails in the DatabaseConnector package.

resultsDatabaseSchema

Fully qualified name of database schema that we can fetch final results from. On SQL Server, this should specifiy both the database and the schema, so for example, on SQL Server, 'cdm_results.dbo'.

Value

A table listing all identified issues

Details

AchillesHeel is a part of the Achilles analysis aimed at identifying potential data quality issues. It will list errors (things that should really be fixed) and warnings (things that should at least be investigated).

Examples

Run this code
# NOT RUN {
                              
# }
# NOT RUN {
                                           connectionDetails <- DatabaseConnector::createConnectionDetails(dbms="sql server", server="myserver")
                                           achillesResults <- achilles(connectionDetails, "cdm5_sim", "scratch", "TestDB")
                                           fetchAchillesHeelResults(connectionDetails, "scratch")
                                        
# }

Run the code above in your browser using DataLab