An R Client to the 'PatentsView' API

Provides functions to simplify the 'PatentsView' API (< http://www.patentsview.org/api/doc.html>) query language, send GET and POST requests to the API's seven endpoints, and parse the data that comes back.


patentsview

Linux Build Status AppVeyor Build Status CRAN version

Installation

You can get the stable version from CRAN:

install.packages("patentsview")

Or the development version from GitHub:

if (!"devtools" %in% rownames(installed.packages())) 
  install.packages("devtools")
 
devtools::install_github("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"}}')
#> #### A list with a single data frame on a patent level:
#> 
#> List of 1
#>  $ patents:'data.frame': 25 obs. of  3 variables:
#>   ..$ patent_id    : chr [1:25] "7155746" ...
#>   ..$ patent_number: chr [1:25] "7155746" ...
#>   ..$ patent_title : chr [1:25] "Anti-wicking protective workwear and me"..
#> 
#> $query_results
#> #### Distinct entity counts across all downloadable pages of output:
#> 
#> total_patent_count = 100,000

Learning more

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

News

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")

0.2.2 by Christopher Baker, 3 months ago


https://ropensci.github.io/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]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports httr, jsonlite, utils

Suggests knitr, rmarkdown, testthat, tidyr


See at CRAN