USFWS / fwspp

Query species occurrence observations on USFWS properties
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

fws_occ gives error with smaller refuges #48

Open timothymfox opened 1 year ago

timothymfox commented 1 year ago

Sachuest<-find_fws("Sachuest") Sachuest_occ <- fws_occ(Sachuest)

causes the following error: 1 properties will be queried: Sachuest Point NWR (R5)

Processing Sachuest Point NWR Spherical geometry (s2) switched off Linking to GEOS 3.9.3, GDAL 3.5.2, PROJ 8.2.1; sf_use_s2() is FALSE Splitting property for more efficient queries. Spherical geometry (s2) switched on Server request timeout set to 3 seconds (x4 for GBIF). Querying the Global Biodiversity Information Facility (GBIF)... Retrieving 437 records. Querying Integrated Digitized Biocollections (iDigBio)... No records found. Taxonomy retrieval failed with the following error: at least one vector element is required Skipping taxonomy. Please send the resulting fwspp object to the maintainer of the fwspp package. You may also try again later using fwspp::add_taxonomy.

Sachuest_occ $SACHUEST POINT NATIONAL WILDLIFE REFUGE <simpleError in if (nrow(idb_recs) > 0) idb_recs <- clean_iDigBio(idb_recs) else idb_recs <- NULL: argument is of length zero>

attr(,"class") [1] "fwspp" attr(,"boundary") [1] "admin" attr(,"scrubbing") [1] "strict" attr(,"buffer_km") [1] 0 attr(,"query_dt") [1] "2023-07-20 09:07:05 EDT"