geanders / noaastormevents

explore noaa storm database
15 stars 1 forks source link

Avoid repeating code #9

Closed geanders closed 8 years ago

geanders commented 8 years ago

A lot of the functions repeat very similar code, just for different outcomes (e.g., events versus crop damage). Lets see if we can re-factor to write some helper functions that put any repeated code in a single function.