Sharing data with third parties
While it is not required if you are using this framework internally to help you manage your own data analysis, the Cumulus project is intended to produce anonymized data which is suitable for sharing with other institutions via federated networks.
Exporting data
We talk about the mechanics of this a little bit in the First time setup guide, but a study can be configured with a subset of tables set as being exportable to disk. By default, we export two file formats: csv, and parquet. The former is intended for things like SME verification, while the latter is intended for transport/programmatic consumption/type safety.
When exporting/uploading data, you need to provide a path to a data directory for local reading and writing. Optionally, you can specify a path value to use for this in a CUMULUS_LIBRARY_DATA_PATH
variable. The library will create subfolders in this directory based on the names studies you are exporting. These will be emptied before each export run.
Uploading data to Cumulus Aggregator
As part of the Cumulus framework, we have a middleware application called Cumulus Aggregator configured to receive and combine datasets from multiple organizations, which can then be loaded into the dashboard for SME analysis. (As of this writing, that dashboard is not yet available as open source.)
We recommend configuring the following environment variables for using this script:
CUMULUS_AGGREGATOR_USER
CUMULUS_AGGREGATOR_ID
The administrator of your Aggregator instance can help you with generating the values for these variables; reach out to them for more details.
With these configured, running cumulus-library upload
will send any exported data up to the defined Aggregator instance. If you are doing something slightly more complex than participating in one clinical study with the main Cumulus project, using the --help
flag will give you some additional configuration options that may help with your use case.