smallAreaHealthStatisticsUnit / rapidInquiryFacility

The Rapid Inquiry Facility (RIF) helps epidemiologists and public health researchers in environmental health activities.
GNU Lesser General Public License v3.0
14 stars 5 forks source link

Remove Code Duplication In Scripts #100

Closed devilgate closed 5 years ago

devilgate commented 5 years ago

Or at least reduce it. The two Adj_Cov_Smooth_* scripts had a lot of code copied between them, which is bound to get out of sync at some point. And we're introducing the risk analysis script, which will no doubt need similar treatment.

This change removes most of the duplication. In doing so I also made some changes to the rerun scripts and how they are created.