rnpn 1.4.1
- -9999 is now converted to NAfor all columns in data
returned bynpn_download_*()functions (#119, #121).
- compatibility with vcr v2.0.0 (fixed in #125 by @skott)
Bug fixes
- fixed bug that caused some npn_download_*()functions
to error when sections of the data wereNA(#107 reported
by @ezylstra)
- Fixed a bug where returned value of
npn_get_point_data()was inconsistent depending on whether
it was cached or not (same bug and solution as #42)
- Fixed a bug in data download functions that errored uniformatively
if no data was returned. Now an empty tibble is returned.
rnpn 1.4.0
New features
- npn_download_individual_phenometrics()and- npn_download_site_phenometrics()gain- period_startand- period_endarguments for
defining a custom “window” or season for phenometrics.
Deprcations & changes
- The speciesidargument ofnpn_stations_with_spp()has been deprecated in favor ofspecies_idfor uniformity.
- Changed behavior of kingdomarguments innpn_species_state()andnpn_species_types().
Now provide either"Plantae","Animalia", orc("Plantae", "Animalia")(the default). A column forkingdomis added to the return value ofnpn_species_types().
- The return_allargument ofnpn_get_phenophases_for_taxon()has been deprecated. Usedate = "all"to return data for all dates instead.return_all = 1will continue to work (with a warning) in
this version.
Bug fixes
- Fixed bug that caused an error when agdd_layerwas used
in download functions.
- Download times and memory requirements had increased drastically
with changes to phenometrics functions in v1.3.0 (#104). This is now
fixed with #105. The only user-facing difference should be that there is
no longer a progress indicator when retrieving data (sorry about
that).
rnpn 1.3.0
Dependency changes
- nnpnno longer depends on the- spor- rasterpackages
- terrais now a suggested dependency and users will be
prompted to install it only when it is needed
- rnpnnow requires the- xml2package instead
of- XML
- rnpnnow has- dplyras a dependency instead
of- plyr
- rnpnnow uses- httr2instead of- httrand- curlinternally for functions that
get observational data
- data download functions now return tibbles instead of
data.tableobjects.rnpnno longer depends ondata.table
Changes to function
arguments
- npn_phenophase_details()now takes a vector of
phenophase IDs rather than a list
- Documented a behavior of npn_species_type()where
settingkingdomtoNULLreturns results for
bothPlantaeandAnimalia.
- ...is no longer used for functions that get
observational data
Changes to function outputs
- Functions that previously returned data.frameobjects
now return tibbles. Where they previously returnedNULLon
errors, they now return empty 0x0 tibbles.
- Missing values returned by download functions are now automatically
converted from -9999 to NA
- Missing values returned by npn_stations_by_state()previously returned as the string"emptyvalue"are now
returned asNAs.
- 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.
Bug fixes
- Fixed a bug (#42) where returned value of
npn_get_agdd_point_data()was inconsistent depending on
whether it was cached or not.
rnpn 1.2.9 (2024-08-18)
NEW FEATURES
- Fixed failed tests due vignette calling geoserver directly
rnpn 1.2.8 (2024-02-08)
NEW FEATURES
- Fixed failed tests due to server migration
rnpn 1.2.7 (2024-01-23)
NEW FEATURES
- Migrate back end to cloud instances
rnpn 1.2.6 (2023-08-28)
NEW FEATURES
- Remove rgdal dependencies
- Update maintainer to Jeff Switzer
rnpn 1.2.5 (2022-04-20)
NEW FEATURES
- New vignette, #8 on Data Cleaning
- Changes to reflect repository being transferred from ropensci to
usa-npn in github
rnpn 1.2.4 (2021-11-10)
NEW FEATURES
- Skipping more API-dependent unit tests.
rnpn 1.2.3 (2021-10-22)
NEW FEATURES
- Skipping failing API-dependent unit tests and improved
documentation.
rnpn 1.2.2 (2021-10-04)
NEW FEATURES
- Fixing failing unit tests
rnpn 1.2.1 (2021-04-05)
NEW FEATURES
- Fixing failing unit tests
rnpn 1.2.0 (2021-03-19)
NEW FEATURES
- Graceful fails when NPN data services are unavailable
rnpn 1.1.1 (2020-10-27)
NEW FEATURES
- Total overhaul of the rNPN package
- Added functions for directly downloading different observation
record data types
- Added additional utility and lookup type functions
- Added functions for downloading USA-NPN raster data and geospatial
values by latitude/longitude
- Deprecated the following functions: lookup_names, npn_allobssp,
npn_indsatstations, npn_indspatstations, npn_species_comm,
npn_species_itis, npn_species_sci, npn_stationsbystate,
npn_stationswithspp
rnpn 0.1.0
NEW FEATURES