BiologicalRecordsCentre / NBN4R

This is a project to enable the R community to access data and resources hosted at National Biodiversity Network (NBN) Atlas. The goal is to enable outputs (e.g., observations of species) to be queried and output in standard formats.
1 stars 2 forks source link

Fix failing tests #3

Open fozy81 opened 6 years ago

fozy81 commented 6 years ago

Changes to NBN atlas API has broken some of the tests. These need fixing.

fozy81 commented 6 years ago

Not sure how to fix failing tests:

The standard fields returned by 'occurrences' gives 'scientificNameOriginal' but not 'scientificName'. Also the standard fields don't include latitude/longitude only brings back 'longitudeOriginal', 'decimalLatitudeWGS84'.

In general, fields don't seem to match with what is expected by API documentation: https://api.nbnatlas.org/#ws4