An R client to the PatentsView API
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")
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 a patent level:
#>
#> List of 1
#> $ patents:'data.frame': 25 obs. of 3 variables:
#> ..$ patent_id : chr [1:25] "10000000" ...
#> ..$ patent_number: chr [1:25] "10000000" ...
#> ..$ patent_title : chr [1:25] "Coherent LADAR using intra-pixel quadrature "..
#>
#> $query_results
#> #### Distinct entity counts across all downloadable pages of output:
#>
#> total_patent_count = 100,000
Head over to the package’s webpage for more info, including:
- A getting started vignette for first-time users. The package was also introduced in an rOpenSci blog post.
- An in-depth tutorial on writing queries
- A list of basic examples
- Two examples of data applications (e.g., a brief analysis of the top assignees in the field of databases)