Skip to content

Commit

Permalink
exoticCategory column added to API output
Browse files Browse the repository at this point in the history
  • Loading branch information
slager committed Jan 7, 2024
1 parent 1da0339 commit 6097b66
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions R/ebirdnotable.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#' @return "locationPrivate": TRUE if location is not a birding hotspot
#' automatic filters or a regional viewer, FALSE otherwise
#' @return "subId": submission ID
#' @return "exoticCategory": Exotic category
#' @return "subnational2Code": county code (returned if simple=FALSE)
#' @return "subnational2Name": county name (returned if simple=FALSE)
#' @return "subnational1Code": state/province ISO code (returned if simple=FALSE)
Expand Down
2 changes: 2 additions & 0 deletions man/ebirdnotable.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/test-ebirdnotable.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_that("ebirdnotable works correctly", {
expect_is(out$comName, "character")
expect_is(out$howMany, "integer")

expect_equal(NCOL(ebirdnotable(region='US-OH', regtype='subnational1')), 13)
expect_equal(NCOL(ebirdnotable(region='US-OH', regtype='subnational1')), 14)

simpler <- ebirdnotable(lat=42, lng=-70, max = 40, simple = TRUE)
# lesssimpler <- ebirdnotable(lat=42, lng=-70, max = 40, simple = FALSE)
Expand Down

0 comments on commit 6097b66

Please sign in to comment.