Final Project resources#
Open data portals#
There are countless places to get data, notably:
Local:
U.S. Federal:
Lists of open data portals:
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 JupyterHub.
Put the following in a code cell and run it.
!apt-get install -y cloc > /dev/null !cloc --hide-rate --by-file *.py