An R Client to the 'PatentsView' API

Provides functions to simplify the 'PatentsView' API (< https://search.patentsview.org/docs/docs/Search%20API/SearchAPIReference/#api-query-language>) query language, send GET and POST requests to the API's twenty seven endpoints, and parse the data that comes back.


patentsview

An R client to the PatentsView API

R-CMD-check CRANversion runiverse-package

Installation

You can get the stable version from CRAN:

install.packages("patentsview")

Development version

To get a bug fix or to use a feature from the development version, you can install the development version from GitHub:

# install.packages("pak")
pak::pak("ropensci/patentsview")

Basic usage

The PatentsView API provides an interface to a disambiguated version of USPTO. The patentsview R package provides one main function, search_pv(), to make it easy to interact with the API:

library(patentsview)

search_pv(query = '{"_gte":{"patent_date":"2007-01-01"}}')
#> $data
#> #### A list with a single data frame on patents level:
#> 
#> List of 1
#>  $ patents:'data.frame': 1000 obs. of  1 variable:
#>   ..$ patent_id: chr [1:1000] "10000000" ...
#> 
#> $query_results
#> #### Distinct entity counts across all downloadable pages of output:
#> 
#> total_hits = 5,815,634

Learning more

Head over to the package’s webpage for more info, including:

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("patentsview")

1.0.0 by Christopher Baker, 8 months ago


https://docs.ropensci.org/patentsview/index.html


Report a bug at https://github.com/ropensci/patentsview/issues


Browse source code at https://github.com/cran/patentsview


Authors: Christopher Baker [aut, cre] , Russ Allen [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports httr2, lifecycle, jsonlite, utils, stats

Suggests dplyr, knitr, rmarkdown, testthat, tidyr, vcr


See at CRAN