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)

Arguments

query

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).

applications

Logical; specifies whether to search in the application database (AppFT; TRUE; default) or the patent database (PatFT; FALSE).

limit

A limit to the number of results retrieved, in steps of 50. By default, will try to retrieve all results.

retries

Number of retries for a given results page.

outdir

Path to a directory in which to save results. Only writes if specified.

overwrite

Logical; if TRUE, will overwrite caches results.

cores

Number of CPU cores to use when reading in multiple pages.

verbose

Logical; if FALSE, does not print status messages.

Value

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).

See also

For the newer search mechanism, see uspto_search.

Examples

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)
}