Learn R Programming

Achilles (version 1.6.3)

fetchAchillesAnalysisResults: fetchAchillesAnalysisResults

Description

fetchAchillesAnalysisResults returns the results for one Achilles analysis Id.

Usage

fetchAchillesAnalysisResults(connectionDetails, resultsDatabaseSchema,
  analysisId)

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'.

analysisId

A single analysisId

Value

An object of type achillesAnalysisResults

Details

See data(analysesDetails) for a list of all Achilles analyses and their Ids.

Examples

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

Run the code above in your browser using DataLab