Update Collected Dataset
This command is for updating and/or publishing an existing Collected Dataset. The goal is to automate the linkage between a table in Opal with a collected dataset in Mica.
mica update-collected-dataset ID <CREDENTIALS> [OPTIONS] [EXTRA]
Arguments
Argument |
Description |
---|---|
|
The collected dataset identifier |
Options
Option |
Description |
---|---|
|
The associated study. |
|
The population of the associated study. |
|
The data collection event in the population of the associated study. |
|
The associated Opal project. |
|
The table in the associated Opal project. |
|
Publish the collected dataset. |
|
Unpublish the collected dataset. |
Credentials
Authentication is done by username/password credentials.
Option |
Description |
---|---|
|
Mica server base url. |
|
User name. User with appropriate permissions is expected depending of the REST resource requested. |
|
User password. |
Extras
Option |
Description |
---|---|
|
Show the command help’s message |
|
Verbose output |
Example
Link a collected dataset in local Mica to a table in Opal.
mica update-collected-dataset -u administrator -p password --project CLS --table Wave1 cls-wave1
Associate a collected dataset to a study data collection event in Mica.
mica update-collected-dataset -u administrator -p password --study cls --population 1 --dce 1 cls-wave1
Publish a collected dataset.
mica update-collected-dataset -u administrator -p password --publish cls-wave1