Final Project resources#
Open data portals#
There are countless places to get data, notably:
Local:
-
Scout can be used to find datasets with certain columns
-
U.S. Federal:
Lists of open data portals:
Inspiration#
For starters, see the examples from past semesters.
Probably not realistic to make visualizations that are as fancy as these ones made by professionals, but they may give you ideas. Some also include links/downloads of the source data.
Counting lines of code#
To count the number of lines of code in a notebook:
Download the notebook as a Python file.
With the notebook open in Google Colab, go to
File
->Download
->Download .py
.
Upload the Python file to Google Colab (directly, not to Google Drive).
Click the
Files
icon in the sidebar.Click the
Upload to session storage
button.Select the
.py
file.
Put the following in a code cell and run it.
!apt-get install -y cloc > /dev/null !cloc --hide-rate --by-file *.py