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#
Probably not realistic to make visualizations that are as fancy as these, 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.
Upload the notebook to Google Colab.
Download the notebook as a Python file.
With the notebook open in JupyterHub, go to
File
->Download
->Download .py
.
Upload the Python file to Google Colab.
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