atlas.dump: Dumps patient from ATLAS to a file on disk

Description Usage Arguments Value Examples

View source: R/api.R

Description

Dumps patient from ATLAS to a file on disk

Usage

1
2
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

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

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

Related to atlas.dump in atlas...