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

Incidental records are not handled like other records in auk_distance() #72

Open
FittySix opened this issue Feb 22, 2023 · 1 comment
Open

Comments

@FittySix
Copy link

Hi there, I am currently filtering eBird data using the 'auk' package, and it seems as though Incidental records and the effort distance filter do not interact well. I am trying to gather Stationary, Traveling, or Incidental records with null distance (i.e., no value) OR 0-2km effort distance. Here is a portion of the code with pipes:

#restrict to the standard traveling and stationary count protocols auk_protocol(protocol = c("Stationary", "Traveling", "Incidental")) %>% #only keep checklists that are <= 2km long auk_distance(distance = c(0, 2))

The Incidental values with null distance do not return. (Stationary values with null distance do return, but they also have effort times associated. I wonder if this ties into what I am seeing?) Is there a way to specify all of the conditions above in the same pipeline? If necessary, I can always add in the Incidental values manually after filtering, but I thought I would ask! Thank you!

@mstrimas
Copy link
Contributor

Unfortunately, I don't think these more complicated filters are possible with AWK, so you likely need to filter the EBD twice then combine the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants