Learn R Programming

atlas (version 1.0.0)

atlas.csv: 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

Run this code
# NOT RUN {
atlas.csv(atlas.connect('http://localhost:8080'), 'CSV(ICD9=250.50, CPT, LABS, ICD9)')
# }
# NOT RUN {
atlas.csv(atlas.connect('http://localhost:8080'), 'CSV(ICD9=250.50, CPT, LABS, ICD9)',
          '/output.csv')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab