atlas.csv {atlas} | R Documentation |
Queries ATLAS with a CSV() command and imports the contents of the csv into a data frame
Description
Queries ATLAS with a CSV() command and imports the contents of the csv into a data frame
Usage
atlas.csv(connection, query, file_name = NULL)
Arguments
connection |
connection object returned from connect(url) function |
query |
ATLAS CSV query |
file_name |
if specified, stores the csv into the file_name, otherwise the temporary file used to download the data will be deleted after the data.frame is generated |
Value
data frame containing CSV file
Examples
atlas.csv(atlas.connect('http://localhost:8080'), 'CSV(ICD9=250.50, CPT, LABS, ICD9)')
atlas.csv(atlas.connect('http://localhost:8080'), 'CSV(ICD9=250.50, CPT, LABS, ICD9)',
'/output.csv')
[Package atlas version 1.0.0 Index]