Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning for locations() #46

Open
damianooldoni opened this issue Mar 21, 2024 · 1 comment
Open

Add warning for locations() #46

damianooldoni opened this issue Mar 21, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request function:accessor_assignment Functions deployments(), media(), observations(), events(), locations(), taxa()

Comments

@damianooldoni
Copy link
Member

damianooldoni commented Mar 21, 2024

locations() must return a warning:

  • if duplicates of locationID are present.
  • duplicates of locationName are present and locationID is NA.
@damianooldoni damianooldoni self-assigned this Mar 21, 2024
@peterdesmet peterdesmet added the enhancement New feature or request label Mar 22, 2024
@peterdesmet
Copy link
Member

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.

@peterdesmet peterdesmet added the function:accessor_assignment Functions deployments(), media(), observations(), events(), locations(), taxa() label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request function:accessor_assignment Functions deployments(), media(), observations(), events(), locations(), taxa()
Projects
None yet
Development

No branches or pull requests

2 participants