atlas.dump | R Documentation |
Dumps patient from ATLAS to a file on disk
atlas.dump(connection, patient_id, path, selection_query = NULL, contains_start = FALSE, contains_end = FALSE)
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 |
data frame containing patient IDs and time intervals (optional)
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)