Note the double-masking; this part isn't straightforward, so ask if you have questions!
Elvira avoided using cleanData at all because she didn't want to do the masking that I had incorporated into it. That's not good; we want this function to be broadly useful, which means it should only include the filtering as described in #120. The masking step can be a separate function that some people (e.g. me) will want to use but that others can skip.
User will separately load in the mask polygons and provide the sf object to the function as an argument.
Note the double-masking; this part isn't straightforward, so ask if you have questions!
Elvira avoided using cleanData at all because she didn't want to do the masking that I had incorporated into it. That's not good; we want this function to be broadly useful, which means it should only include the filtering as described in #120. The masking step can be a separate function that some people (e.g. me) will want to use but that others can skip.
User will separately load in the mask polygons and provide the sf object to the function as an argument.