patentsview
An R client to the PatentsView API. Contribute to ropensci/patentsview development by creating an account on GitHub.
Dormant for years, then rewritten wholesale when the API underneath it broke.
◆Recent moves
- 6mo ago
Rebuilt for PatentsView's new API: keys, nested endpoints
⚡ SPARKThe first genuinely directional release in the package's history, and it was not optional: the upstream API changed shape, so every endpoint name, the field table, and the authentication model changed with it. It also adds the first capability the package did not previously have, retrieve_linked_data(), which follows the API's HATEOAS links.
View source ↗ - 4y ago
Moves to HTTPS endpoints and handles API throttling
A maintenance release that tracks upstream changes rather than adding capability: HTTPS endpoints, a refreshed field list, URL-encoding fixes, and the first ad-hoc handling of API throttling. In hindsight the throttling work is the early sign of an upstream service tightening access, which 1.0.0 later formalizes with mandatory keys.
View source ↗ - 7y ago
Vignettes dropped so CRAN builds survive API outages
Packaging hygiene with no user-visible change: vignettes were removed so CRAN checks stop failing when the upstream API is down. It is the second consecutive release spent working around the same fragility.
View source ↗ - 8y ago
API examples wrapped in dontrun for CRAN stability
Examples that hit the live API were wrapped so CRAN would not flag the package during outages. Nothing changes for users; it is the same upstream-availability problem being managed at the packaging layer.
View source ↗ - 8y ago
cast_pv_data() converts returned columns to real types
Adds cast_pv_data() to coerce API responses into proper R types, plus new upstream fields and a locations-endpoint error handler. A real usability gain in the era when the package was still tracking an expanding but stable API.
View source ↗ - 9y ago
First release: query DSL for the PatentsView API
The founding release, establishing the shape the package kept for the next seven years: search_pv() for requests, the qry_funs list for composing queries, field and endpoint introspection, and unnest_pv_data() for flattening results. Version 1.0.0 preserves this design while replacing everything underneath it.
View source ↗