atlas.dump {atlas}R Documentation

Dumps patient from ATLAS to a file on disk

Description

Dumps patient from ATLAS to a file on disk

Usage

atlas.dump(connection, patient_id, path, selection_query = NULL,
  contains_start = FALSE, contains_end = FALSE)

Arguments

connection

connection object returned from connect(url) function

patient_id

numerical id of the patient

path

path where to store the generated files

selection_query

returns only the part of patient's data that intersects with the result of the selection_query

contains_start

the dumped time interval's start has to be intersecting the selection_query

contains_end

the dumped time interval's end has to be intersecting the selection_query

Value

data frame containing patient IDs and time intervals (optional)

Examples

atlas.dump(atlas.connect('http://localhost:8080'), 123, '/path/to/dump/files/')
atlas.dump(atlas.connect('http://localhost:8080'), 123, '/path/', 'ICD9=250.50', TRUE, TRUE)



[Package atlas version 1.0.0 Index]