download_patents.Rd
Search for and return a set of full patent texts.
download_patents(ids = NULL, outFile = NULL, ids_type = "application",
query = NULL, inventionTitle = NULL,
inventionSubjectMatterCategory = NULL, assigneeEntityName = NULL,
fromDate = NULL, toDate = NULL, filingDateFromDate = NULL,
filingDateToDate = NULL, inventorNameText = NULL, claimText = NULL,
abstractText = NULL, descriptionText = NULL, sortField = NULL,
ascending = FALSE, grant = FALSE, limit = FALSE, series = "US",
cores = detectCores() - 2, verbose = FALSE)
A vector of application numbers, patent numbers, or document IDs (e.g., "US9748552"
).
Path to a .csv
file to write results to.
Specifies what ids
are, between applications
(default), patents
,
publication
(for publication document IDs), or grant
(for grant document IDs).
Search query; either a term/phrase (searchText
) or set of Boolean criteria (criteriaSearchText
).
Invention title, as it appears on the first page of the specification.
Patent category (e.g., DESIGN
).
Name of the patent assignee.
Publication/grant and/or filing date ranges
in YYYY-MM-DD
format (e.g., 2019-01-20
).
Text to search for in specific portions;
query
will search in all portions if it is a term or phrase.
Field by which to sort results; defaults to date.
Logical; if TRUE
, will sort in ascending order.
Logical; if TRUE
, searches for grants rather than publications.
Maximum number of results to return, in steps of 100.
Series code to prepend to ids
if they are application or patent numbers and not already included.
Number of CPU cores to use when retrieving multiple pages of results.
Logical; if TRUE
, will print status messages.
Path to the downloaded package, if it exists and await
was a number; otherwise NULL
.
if (FALSE) {
# retrieve a specific set of patents:
patents <- download_patents(c(16978600, 17087826, 16041592, 16727940, 17070594))
}