Learn R Programming

atlas (version 1.0.0)

atlas.query: Queries ATLAS and returns a list of patient IDs

Description

Queries ATLAS and returns a list of patient IDs

Usage

atlas.query(connection, query, output_time = FALSE)

Arguments

connection

connection object returned from connect(url) function

query

ATLAS query

output_time

equivalent to wrapping the query in OUTPUT() command. Togerther with patient IDs outputs each time interval in patient's timeline when the query was evaluated as true

Value

data frame containing patient IDs and time intervals (optional)

Examples

Run this code
# NOT RUN {
atlas.query(atlas.connect('http://localhost:8080'), 'ICD9=250.50')
# }
# NOT RUN {
atlas.query(atlas.connect('http://localhost:8080'), 'ICD9=250.50', TRUE)
# }
# NOT RUN {

# }

Run the code above in your browser using DataLab