ops_count: Count the number of results from a search query.

Description Usage Arguments Details Value Examples

Description

Retrieves counts of results from OPS by type (title, title and abstract, biblio = default) and publication date range. Use this function to gain an idea of the total number of results for a search and to use date ranges to limit the results to below the 2,000 limit. The use ops_urls to generate the urls to fetch the data with ops_iterate (and process with service functions such as ops_biblio).

Usage

1
ops_count(query = "", type = "NULL", start = NULL, end = NULL)

Arguments

query

character or combinations using CQL

type

Patent document sections. title = "ti", title and abstract = "ta", biblio(front page) = "biblio", default = biblio (NULL)

start

use unquoted YYYYMMDD or YYYY

end

as for start

Details

The function presently retrieves data only on the publication date, not application or priority dates.

Value

numeric count of results in OPS by search type (document sections) and date ranges.

Examples

1
2
3
## Not run: ops_count("pizza", start = 1990, end = 2000) # search the biblio (front page) across year range
## Not run: ops_count("pizza", type = "ta") # search titles and abstracts across all years
## Not run: ops_count("pizza", type = "ti", start = 19900101, end = 20151231) # search titles between years

poldham/opsrdev documentation built on May 25, 2019, 11:23 a.m.