NEWS.md
NA for all columns in data returned by npn_download_*() functions (#119, #121).npn_download_*() functions to error when sections of the data were NA (#107 reported by @ezylstra)npn_get_point_data() was inconsistent depending on whether it was cached or not (same bug and solution as #42)npn_download_individual_phenometrics() and npn_download_site_phenometrics() gain period_start and period_end arguments for defining a custom “window” or season for phenometrics.speciesid argument of npn_stations_with_spp() has been deprecated in favor of species_id for uniformity.kingdom arguments in npn_species_state() and npn_species_types(). Now provide either "Plantae", "Animalia", or c("Plantae", "Animalia") (the default). A column for kingdom is added to the return value of npn_species_types().return_all argument of npn_get_phenophases_for_taxon() has been deprecated. Use date = "all" to return data for all dates instead. return_all = 1 will continue to work (with a warning) in this version.agdd_layer was used in download functions.nnpn no longer depends on the sp or raster packagesterra is now a suggested dependency and users will be prompted to install it only when it is neededrnpn now requires the xml2 package instead of XML
rnpn now has dplyr as a dependency instead of plyr
rnpn now uses httr2 instead of httr and curl internally for functions that get observational datadata.table objects. rnpn no longer depends on data.table
npn_phenophase_details() now takes a vector of phenophase IDs rather than a listnpn_species_type() where setting kingdom to NULL returns results for both Plantae and Animalia.... is no longer used for functions that get observational datadata.frame objects now return tibbles. Where they previously returned NULL on errors, they now return empty 0x0 tibbles.NA
npn_stations_by_state() previously returned as the string "emptyvalue" are now returned as NAs.npn_groups(use_hierarchy = TRUE) now returns a nested list rather than a tibble with a list-column.npn_abundance_categories(), npn_phenophases_by_species(), and npn_get_phenophases_for_taxon() now return tibbles with any list-columns unnested.npn_get_agdd_point_data() was inconsistent depending on whether it was cached or not.