Skip to content

patentsview

An R Client to the 'PatentsView' API

v1.0.0 · Feb 26, 2026 · MIT + file LICENSE

Description

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.

Downloads

CRAN

321

Last 30 days

14118th

765

Last 90 days

3.7K

Last year

Trend: +69.8% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

26

Last 90 days

129

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

11

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

83,358

Files

69

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,185 (1.4%)Tests 81,636 (97.9%)Docs 537 (0.6%)

API

Exported functions

8

Internal functions

41

Recent export changes

v1.0.0+1 retrieve_linked_data  −1 cast_pv_data
v0.2.0+1 cast_pv_data

Testing & CI

Has tests

Yes

Test-to-code ratio

65.94

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

87.5%

\dontrun example ratio

42.9%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2017-07-12

Latest release

2026-02-26

Avg cadence

320 days

Cold removal rate

100%

Dep drift

4

LOC over versions

v0.1.0: 1,917 LOCv0.2.0: 2,159 LOCv0.2.1: 2,201 LOCv0.2.2: 1,710 LOCv0.3.0: 1,753 LOCv1.0.0: 83,358 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies httr2 lifecycle jsonlite patentsview

Version History

7 tracked
new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.3.0 diff Feb 25, 2026
updated 0.3.0 ← 0.2.2 diff Sep 24, 2021
updated 0.2.2 ← 0.2.1 diff Jan 27, 2019
updated 0.2.1 ← 0.2.0 diff Mar 13, 2018
updated 0.2.0 ← 0.1.0 diff Feb 8, 2018
new 0.1.0 Jul 11, 2017