Skip to content

Instantly share code, notes, and snippets.

@ryanleeallred
Created August 31, 2020 17:00
Show Gist options
  • Save ryanleeallred/5b8dfcba74b46bf0d975ebf318907e8b to your computer and use it in GitHub Desktop.
Save ryanleeallred/5b8dfcba74b46bf0d975ebf318907e8b to your computer and use it in GitHub Desktop.
# Find the actual file to download
# From navigating the page, clicking "Data Folder"
# Right click on the link to the dataset and say "Copy Link Address"
flag_data_url = 'https://archive.ics.uci.edu/ml/machine-learning-databases/flags/flag.data'
# You can "shell out" in a notebook for more powerful tools
# https://jakevdp.github.io/PythonDataScienceHandbook/01.05-ipython-and-shell-commands.html
# Funny extension, but on inspection looks like a csv
!curl https://archive.ics.uci.edu/ml/machine-learning-databases/flags/flag.data
# Extensions are just a norm! You have to inspect to be sure what something is
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment