kaijagahm / vultureUtils

Utility functions for working with vulture data
Other
4 stars 0 forks source link

Split mask section of cleanData into its own function #121

Closed kaijagahm closed 6 months ago

kaijagahm commented 6 months ago

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.