Skip to main content
 
 
 
IN THIS SECTION
4 posts
powerxtreme
Last seen: 10/27/2021 - 05:59
Joined: 12/20/2017 - 05:00
some fields unaccessible?

I tried to retrieve examiner_id by using the patentview package in R, but it seems that the field "examiner_id" is unaccessible?Image removed.

Russ
Last seen: 03/21/2024 - 09:05
Joined: 11/14/2017 - 22:15
api and R package problem

It looks like there is a problem in the patentsview R package.  View(patentsview::fieldsdf) doesn't display any of the examiner fields.  The examiner_id field comes back in a browser request http://www.patentsview.org/api/patents/query?q={"_gte":{"patent_date":"2017-08-01"}}&o={"per_page":10}&f=["patent_number","patent_title","patent_num_claims","examiner_id"] 

Or in R without using the patentsview R package

> patent <- GET('http://www.patentsview.org/api/patents/query?q={"_gte":{"patent_date":"2017-08-01"}}&o={"per_page":10}&f=["patent_number","patent_title","patent_num_claims","examiner_id"]')
> pats  <- jsonlite::fromJSON(content(patent, as="text"))
> print(pats)

1  System and method for automated odometry calibration for precision agriculture systems
2                                                        Machine turn maneuver management
3                                Molded boot for dispensing seeds and multiple treatments
4                                           Ergonomic rotational handle for a garden tool
5                                      Rock guard for quick change knives on a disc mower
6               Agricultural blades and machine parts with amorphous metal laser cladding
7                                                Switch control mechanism for garden tool
8         Systems and method for monitoring, controlling, and displaying field operations
9                              Hydraulic system for a header of an agricultural harvester
10                       Pressure control for hydraulically actuated agricultural headers
   patent_num_claims examiners
1                 30        NA
2                 19        NA
3                  5        NA
4                  2        NA
5                  8        NA
6                 24        NA
7                 12        NA
8                 20        NA
9                 19        NA
10                16        NA

$count
[1] 10

$total_patent_count
[1] 14426

There does seem to be an api issue too in that the examiner_id is returned as null.  A request where the patent_date is less than today returns all null examiner_ids whether it's sorted by examiner_id ascending or descending.  

Russ

 

Russ
Last seen: 03/21/2024 - 09:05
Joined: 11/14/2017 - 22:15
R issue resolved!

I opened an issue in the r package's github project and it has been resolved! 

https://github.com/ropensci/patentsview/issues/7

Russ

powerxtreme
Last seen: 10/27/2021 - 05:59
Joined: 12/20/2017 - 05:00
thanks Russ, I will have a…

thanks Russ, I will have a try.

Shaw