- add markdown pkg to Suggests for vignette
- vcr caching for pg_data tests, local only as files are too big (#74)
- vignette title fix (#73)
pg_search
fix for searching with a bounding box that crosses 180/-180 longitude: not a fix in this package, but the remote data source fixed a problem reported from a user of this package (#71)
- detected from cran checks, only failing on debian clang r-devel: change
pg_search
tests to usepreserve_exact_body_bytes = TRUE
in thevcr::use_cassette()
call soyaml
package doesn't fail on loading it (#72)
- now using package
hoardr
for managing caching, replacing packagerappdirs
; new objectpg_cache
, an R6 class, with methods for managing where you cache files, deleting them, listing them, etc. Importantly, you can set the full cache path now, not just the folder within a set directory (#66) (#69)
- most tests using
vcr
now for http reqeust caching (#70) - output of
pg_data()
now includes ametadata
slot with parsed metadata from text files (only included when the file is a txt file);parameters
slot that's part of the metadata is partially parsed into an unnamed list (#67)
- fix in
pg_data()
: Pangaea changed how links are organized for datasets, fixed now (#65) - fix in
pg_data()
: response content type header changed - a space was added, breaking the content type check; now not sensitive to the space (#68)
- Added a vignette (#62)
- replaced
httr
pkg withcrul
for HTTP requests (#55) - Some datasets require login on the Pangaea platform - we now detect this in
pg_data
and skip the file download with a message saying so. Eventually we hope to fix this to allow uesrs to input credentials to get the file(s) (#59)
- New function
pg_search_es
- an interface to Pangaea's Elasticsearch query interface.
- added more tests (#57)
- now using markdown in docs
- tidy code to 80 line width
- fixed bug in oai functions due to changed base url for the Pangaea OAI server (#53)
- Fix to
pg_search
as search portal now has offset param - so if more than 500 results need to page through them with theoffset
parameter (#56)
- Improved examples in the OAI methods to make sure they work regardless of when the user runs them
- Fixes to
pg_search()
needed due to changes in the Pangaea website. Nearly identical functionality, but one parameter switch (env
param is nowtopic
). More parameters may be added in the future. New fields are added to output, added to docs for the function. Now importingjsonlite
as a result of these changes (#50) - Fixes to
pg_data()
needed due to changes in the Pangaea website. Nothing should be different for the user. (#51)
- Dropped
XML
, usingxml2
now (#42) - Using
rappdirs
package now for determing caching path on user's machine (#46) - using
tibble
now for compact data.frame representations (#47) - Dropped
methods
dependency (#48) - Added test suite (#45)
- Fixes to
pg_search()
- introduced due to changes in Pangaea website (#44)
- Released to CRAN.