The API does not conduct lemmatization before applying your query, while the web app does. This means that the API will typically return a smaller result set than the web app.
There are two important limits that you should be aware of:
For the WoS API, you can’t request more than 5 session IDs (SIDs) in a 5 minute period (i.e., you can’t call
auth() more than 5 times in a five minute period). You can reuse a SID across queries, though, so this limit isn’t a big deal.
According to the documentation, the InCites API limits users to 1,000 requests per 24 hour period, where each request can contain up to 100 UTs. That would suggest that you can download up to 100,000 publications-worth of data from the InCites API each day. However, based on my experience, there may another (undocumented) throttling limit which restricts the user to requesting no more than ~ 1,500 publications per 30 minute period.1
pull_incites()return data for all of my publications?
Not all publications that are indexed in the Web of Science database are also indexed in InCites.
The WoS API doesn’t allow you to download data for a query that matches 100,000 or more publications. You can get around this by breaking your query into pieces using the publication year tag (
PY). For example, if you have a broad query like
"TS = dog" (which matches over 250,000 records), you could break it up into four sub-queries that have contiguous date ranges (and which return fewer than 100,000 records each). For example:
queries <- c( "TS = dog AND PY = 1900-1980", "TS = dog AND PY = 1981-2000", "TS = dog AND PY = 2001-2010", "TS = dog AND PY = 2011-2018" ) results <- pull_wos_apply(queries)
pull_wos()doesn’t return. How do I get them?
Open up an issue on
wosr’s issue page describing the field(s) that you want.