Description Usage Arguments Value Examples
View source: R/crossref_count.R View source: R/crossref_count_test.R
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.
| 1 2 3 | crossref_count(query)
crossref_count(query)
 | 
| query | A search term | 
| query | 
numeric
numeric
| 1 2 | ## Not run: pizza <- crossref_count(query = "pizza")
## Not run: pizza <- crossref_count(query = "pizza")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.