diff --git a/scripts/extract-conf-data.sh b/scripts/extract-conf-data.sh new file mode 100755 index 0000000..f21846d --- /dev/null +++ b/scripts/extract-conf-data.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +if [[ ! -e datasets/job_metadata_confidential.csv ]] ; then + exit 0 +fi + +# This script extracts the actual usernames and job-informations +# As it is confidential information, we cannot include the files + +for I in $@ ; do + DATA=$(grep $I datasets/job_metadata.csv | cut -d "," -f 7-) + echo -n $I, + grep $DATA datasets/job_metadata_confidential.csv | cut -d "," -f 1-5 +done