Update Using pepcli authored by Hans Harmannij's avatar Hans Harmannij
......@@ -297,6 +297,7 @@ Note that the `pepcli list` command is not capable of data re-pseudonymization.
The `pull` command downloads a data set from PEP and stores the data in files. If you need more fine-grained control, use the [`list`](#list) and [`get`](#get) commands instead.
```
pepcli pull --all-accessible
pepcli pull -C <column group> -P <participant group>
```
......@@ -304,10 +305,11 @@ This will by default store the data to the directory `pulled-data`.
Important flags are:
- `-C` Column group to list data for. Can be repeated if you want data for more than one column group. There is a special column group `*` that contains all columns.
- `-c` Specific column to list data for. Can be repeated, and combined with `-C` if you want multiple columns and column groups
- `-P` Participant group to list data for. Can be repeated if you want data for more than one participant group. There is a special participant group `*` that contains all participants.
- `-p` Specific participant identifier or pseudonym to list data for. Can be repeated if you want data for more than one participant.
- `--all-accessible` Download all the data the user has access to. You can use this instead of the `-c`, `-C`, `-p` and `-P` flags, and will just give you everything that you have been granted access to.
- `-C` Column group to download data for. Can be repeated if you want data for more than one column group. There is a special column group `*` that contains all columns.
- `-c` Specific column to download data for. Can be repeated, and combined with `-C` if you want multiple columns and column groups
- `-P` Participant group to download data for. Can be repeated if you want data for more than one participant group. There is a special participant group `*` that contains all participants.
- `-p` Specific participant identifier or pseudonym to download data for. Can be repeated if you want data for more than one participant.
- `-o` Directory to write files to. Default is `pulled-data`.
- `-f` Overwrite or remove existing data in output directory
- `-r` Resume an interrupted download
......
......