Wrap up all the commits from last week into 1 pull request (PR).
- Make PR
- Merge
- Pull from
master
- Check out new branch
- Do this week's work on new branch
- Repeat data cleaning or visualizing steps
- Do you data cleaning on a subset of data first (just 1 or 2 counties)
- Check to make sure it works as expected
- Generalize to all US counties
- Keeps code tidy
- To use a function across notebooks or scripts, you can create a
utils.py
, and call/invoke it. - Note: the
utils.py
must be in the same directory as the notebooks / scripts. - Ex: function called
clean_data_make_chart()
inutils.py
. To use in a notebook:utils.clean_data_make_chart()
. - In R, you similarly
source
a function, and then invoke it.
- To use a function across notebooks or scripts, you can create a
Review work from 1-read-in-data.ipynb
and 2-demo-chart.ipynb
and make at least 2 functions.
Run through 4-geospatial-example.ipynb
.
References:
- Other Resources to complete data cleaning.
- Make progress on
2-demo-chart.ipynb
, or create new notebook. - Make at least 1 more commit.
- Turn last week's work in data cleaning into a function and move it into
utils.py
. - Turn last week's work in making a chart into a function and move it into
chart_utils.py
.