Skip to content

Commit 7d67057

Browse files
committed
vignette clean up
1 parent 9b33a1a commit 7d67057

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

vignettes/api-changes.Rmd.orig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,6 @@ library(patentsview)
119119
pv_data <- retrieve_linked_data("https://search.patentsview.org/api/v1/cpc_group/G01S7:4865/")
120120
pv_data
121121

122-
if(pv_data$query_results$total_hits != 1){
123-
print("something is wrong with the API. Response should match this:")
124-
query <- qry_funs$eq("cpc_group_id" = "G01S7/4865")
125-
search_pv(query, endpoint = "cpc_group")
126-
}
127-
128122
# Here we'll use an example url from the documentation
129123
# Note that going to that link in a browser will result in a 403 Unauthorized, as no API key is sent.
130124
retrieve_linked_data('https://search.patentsview.org/api/v1/patent/?q={"patent_id":"7861317"}')

0 commit comments

Comments
 (0)