Functionalize Ingest Script for Model Data
We need to be able to execute the ingest functions contained in 0_build_200class_modeldata.R without having to execute maine.R. That is, we need each element to be a function so that we can source the file and execute the functions sequentially in the sandbox.
Please functionalize the following sections:
- Line 40 -63
- Line 65 - 85
- Line 110 - 119
- Line 203 - 241. This may be a bit challenging, but @SweatyHandshake can help.
- All the recodes.
You may need to re-organize the file so that things like 'foreclosures' are all together in a single function.
Edited by Robert Ross