View source: R/get_query.R View source: R/gen_urls.R
get_query | R Documentation |
Generate URLs to search OPS biblios
Generate urls to be fed into get_ops function
get_query( title = NA, abstract = NA, titab = NA, applicant = NA, inventor = NA, citation = NA, pub_num = NA, cpc = NA, ipc = NA, from = NA, to = NA, with_biblio = FALSE ) get_query( title = NA, abstract = NA, titab = NA, applicant = NA, inventor = NA, citation = NA, pub_num = NA, cpc = NA, ipc = NA, from = NA, to = NA, with_biblio = FALSE )
title |
- Character vector containing string to be searched in the title field |
abstract |
- Character vector containing string to be searched in the abstract field |
titab |
- Character vector containing string to be searched in the title or abstract field |
applicant |
- Character vector containing string to be searched in the applicant field |
inventor |
- Character vector containing string to be searched in the inventor field |
citation |
- Character vector containing DOCDB identification to be searched in the citation field |
pub_num |
- Character vector containing publication number. It can also be used to search patents granted by a specific patent authority, using their country code |
cpc |
- Character vector containing Cooperative Patent Classification code |
ipc |
- Character vector containing International Patent Classification code |
from |
- YYYY or YYYYMMDD, publication date. |
to |
- YYYY or YYYYMMDD, publication date |
with_biblio |
- Boolean. If true, the results returns with bibliographic information attached |
This function generates a set of URLs with a maximum of 100 results per URL for searching either OPS titles, titles & abstracts, biblios (default) and/or date ranges (publication date). See Details.
This function returns queries that can be provided as inputs to the get_ops function. Remember that the ops accepts only queries made of maximum 20 components or 10 components per field.
prints a query that is ready to be used in the Publication Data Keyword Search endpoint
url
## Not run: urls <- get_query(title = "pizza", applicant = "IBM", from = 2010, to = 2011) ## Not run: urls <- get_query(title = "pizza", applicant = "IBM", from = 2010, to = 2011)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.