atlas.query {atlas}R Documentation

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

atlas.query(atlas.connect('http://localhost:8080'), 'ICD9=250.50')
atlas.query(atlas.connect('http://localhost:8080'), 'ICD9=250.50', TRUE)



[Package atlas version 1.0.0 Index]