crossref_count: Count results for query using rcrossref

Description Usage Arguments Value Examples

View source: R/crossref_count.R View source: R/crossref_count_test.R

Description

A simple wrapper for rcrossref::cr_works() that extracts the total number of results from the meta data for a query. Useful for dividing up the calls within the 1000 limit using the offset argument in cr_works. e.g Call 1. cr_works(query, limit = 1000), Call 2. cr_works(query, limit = 1000, offset = 1001) where Call 2 retrievs the next 1000 results and so on.

A simple wrapper for rcrossref::cr_works() that extracts the total number of results from the meta data for a query. Useful for dividing up the calls within the 1000 limit using the offset argument in cr_works. e.g Call 1. cr_works(query, limit = 1000), Call 2. cr_works(query, limit = 1000, offset = 1001) where Call 2 retrievs the next 1000 results and so on.

Usage

1
2
3

Arguments

query

A search term

query

Value

numeric

numeric

Examples

1
2
## Not run: pizza <- crossref_count(query = "pizza")
## Not run: pizza <- crossref_count(query = "pizza")

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