# only keep checklists that are less than 10 km long
system.file("extdata/ebd-sample.txt", package = "auk") |>
auk_ebd() |>
auk_distance(distance = c(0, 10))
# alternatively, without pipes
ebd <- auk_ebd(system.file("extdata/ebd-sample.txt", package = "auk"))
auk_distance(ebd, distance = c(0, 10))
Run the code above in your browser using DataLab