https://github.com/dobraczka/gecowrapper
Wrapper for "GeCo - An online personal data Generator and Corruptor" by Tran, Khoi-Nguyen; Vatsalan, Dinusha; Christen, Peter
https://github.com/dobraczka/gecowrapper
Last synced: 8 months ago
JSON representation
Wrapper for "GeCo - An online personal data Generator and Corruptor" by Tran, Khoi-Nguyen; Vatsalan, Dinusha; Christen, Peter
- Host: GitHub
- URL: https://github.com/dobraczka/gecowrapper
- Owner: dobraczka
- License: gpl-3.0
- Created: 2019-02-11T08:37:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-15T08:32:45.000Z (over 6 years ago)
- Last Synced: 2025-01-01T12:28:06.755Z (10 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wrapper for GeCo data Generator and Corruptor
This repository contains a wrapper to make use of the corruption functions of ['GeCo - An online personal data Generator and Corruptor'](https://openresearch-repository.anu.edu.au/handle/1885/28255) by Tran, Khoi-Nguyen; Vatsalan, Dinusha; Christen, Peter
## Setup
The script `setupGeCo.sh` will [download](https://dmm.anu.edu.au/geco/),unpack and setup GeCo to make this wrapper work.You also need `unicodecsv`, which can be installed using:
`pip install unicodecsv`
## Usage
Input files need to have `id` as first column.```
usage: wrapper.py [-h] input_path output_path config_path [encoding]positional arguments:
input_path path where the file is located that contains the data that is
to be corrupted
output_path path where the corrupted file should be written
config_path path where the config is located
encoding path where the config is locatedoptional arguments:
-h, --help show this help message and exit
```## Example
`python wrapper.py example/input.csv example/output.csv example/config.json`