Skip to content

Instantly share code, notes, and snippets.

@visualdensity
Last active July 31, 2018 03:33
Show Gist options
  • Save visualdensity/cd9859f55c3a5673e2007aaf96ec17f1 to your computer and use it in GitHub Desktop.
Save visualdensity/cd9859f55c3a5673e2007aaf96ec17f1 to your computer and use it in GitHub Desktop.

Income Data Set:

Commands

Get the file:

wget https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data

Using the cat command

cat adult.data
cat adult.data | grep Self
cat adult.data | grep Self > selfemployed.csv
cat adult.data | grep Private > private.csv

Dealing with CSV Format

cat adult.data | grep Self | awk -F "," '{print $2 $6}'

Reviews & Sentiments

https://archive.ics.uci.edu/ml/machine-learning-databases/00331/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment