search_fulltext.Rd
Searches the Application (AppFT) or Patent (PatFT) Full-Text Databases, and returns document/patent numbers and titles.
search_fulltext(query, applications = TRUE, limit = NULL, retries = 20,
outdir = NULL, overwrite = FALSE, cores = parallel::detectCores() - 2,
verbose = TRUE)
A query string. This can be a set of terms (e.g., "term1 OR term2"
) or
an exact phrase (e.g., '"a phrase"'
). To search within a particular
field, prefix with the field code
and a forward slash (e.g., "CPCL/G01W"
, which searches for "G01W" in the CPCL field).
Logical; specifies whether to search in the application database
(AppFT; TRUE
; default) or the patent database (PatFT; FALSE
).
A limit to the number of results retrieved, in steps of 50. By default, will try to retrieve all results.
Number of retries for a given results page.
Path to a directory in which to save results. Only writes if specified.
Logical; if TRUE
, will overwrite caches results.
Number of CPU cores to use when reading in multiple pages.
Logical; if FALSE
, does not print status messages.
A data.frame
with columns for index
(index of the result),
id
(patent number or application document number), and title
(title of patent or application).
For the newer search mechanism, see uspto_search
.
if (FALSE) {
# search for applications with a meteorology classification:
# https://www.uspto.gov/web/patents/classification/cpc/html/cpc-G01W.html
results <- search_fulltext("CPCL/G01W")
# search for patents by date and title keyword
results <- search_fulltext("isd/1/8/2002 and motorcycle", FALSE)
}