Final Project resources#

Open data portals#

There are countless places to get data, notably:

Counting lines of code#

To count the number of lines of code in a notebook:

  1. Download the notebook.

  2. Upload the notebook to Google Colab.

  3. Download the notebook as a Python file.

    1. With the notebook open in JupyterHub, go to File->Download->Download .py.

  4. Upload the Python file to JupyterHub.

  5. Put the following in a code cell and run it.

    !apt-get install -y cloc > /dev/null
    !cloc --hide-rate --by-file *.py