Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.08 KB

export-spss.rst

File metadata and controls

43 lines (31 loc) · 1.08 KB

Export SPSS (R)

Export in SPSS or compressed SPSS format in Opal file system.

opal export-r-spss <CREDENTIALS> <OPTIONS> [EXTRAS]

Options

Option Description
--datasource DATASOURCE, -d DATASOURCE Datasource name
--tables TABLES [TABLES ...], -t TABLES [TABLES ...] The list of tables to be exported
--incremental -i Incremental export
--identifiers ID_MAPPING, -id ID_MAPPING Entity ID mapping name
--id-name ID_NAME, -in ID_NAME ID column name (optional)
--output OUTPUT, -out OUTPUT Output SPSS or compressed SPSS file name on the Opal file system

Example

Export table from opal-data to a SPSS file:

opal export-r-spss --opal https://opal-demo.obiba.org --user administrator --password password --datasource opal-data --tables StandingHeight --output /tmp/sh.sav