Learn R Programming

ACEsearch (version 1.0.0)

ACEsearch.csv: Queries ACE with a CSV() command and imports the contents of the csv into a data frame

Description

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

Usage

ACEsearch.csv(connection, query, file_name = NULL)

Arguments

connection

connection object returned from connect(url) function

query

ACE 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 {
ACEsearch.csv(ACEsearch.connect('http://localhost:8080'), 'CSV(ICD9=250.50, CPT, LABS, ICD9)')
# }
# NOT RUN {
ACEsearch.csv(ACEsearch.connect('http://localhost:8080'), 'CSV(ICD9=250.50, CPT, LABS, ICD9)',
          '/output.csv')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab