atlas.csv: Queries ATLAS with a CSV() command and imports the contents...

Description Usage Arguments Value Examples

View source: R/query.R

Description

Queries ATLAS with a CSV() command and imports the contents of the csv into a data frame

Usage

1
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

1
2
3
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')

atlas documentation built on May 2, 2019, 5:07 a.m.

Related to atlas.csv in atlas...