njtierney / maxcovr

Tools in R to make it easier to solve the Maximal Coverage Location Problem
http://maxcovr.njtierney.com/
GNU General Public License v3.0
42 stars 11 forks source link

draw out the workflow and improve orthogonality #5

Open njtierney opened 8 years ago

njtierney commented 8 years ago

There is a bit of link-back to facility_user_dist.

I wonder if I can write down a workflow of several functions working together to do the analysis and then get results...as opposed to running monster functions that return smaller monsters with smaller bits - make it all smaller, and the functions more specific.

njtierney commented 7 years ago

Have a look at the tidy tools manifesto for inspiration about this.

Also make sure to re-read these sections on writing R functions:

Actually, read all of these first, then come back to thinking about how to refactor the analysis