Closed yarikoptic closed 4 months ago
A handy tool I discovered, to e.g. find all values which are not numeric
$ for f in */participants.tsv; do echo $f; mlr --itsv --otsv cut -f age $f; done
to just dump all the file names and their values for age if any
❯ mlr --itsv --otsv filter 'string($age) =~ "[^0-9]"' cut -f age ds000117/participants.tsv participant_id age sex first_ses sub-emptyroom n/a n/a n/a
to dump those which are not numeric in a particular file
A handy tool I discovered, to e.g. find all values which are not numeric
to just dump all the file names and their values for age if any
to dump those which are not numeric in a particular file