inbo/camtrapdp

Add warning for `locations()`

damianooldoni opened this issue · 1 comments

locations() must return a warning:

  • if duplicates of locationID are present.
  • duplicates of locationName are present and locationID is NA.

The same could be done for events(), but I think it well get pretty annoying to see the warnings all the time.

I think I would rather want a validate() function to do a number of checks.