I am trying to extract data via easyPubmed package and it shows me total 7038 subjects. However, when I run the code for rows it shows me in 400 and when I try to export in excel, it only gives me 400 subjects not 7038. I have shared my code here, please help me I have assignment due soon.
The following code illustrates the use of the argument api_key , which was introduced in version 2.11. E-utils users are now limited to 3 requests/second if an API key is not provided. However, users can obtain an NCBI/Entrez API key to increase the e-utils limit to 10 requests/second. For more information, visit: (https://www.ncbi.nlm.nih.gov/account/settings/)[https://www.ncbi.nlm.nih.gov/account/settings/]. Two easyPubMed functions can accept an api_key argument: get_pubmed_ids() , and batch_pubmed_download() . Requests submitted by the latter function are automatically paced, therefore the use of a key may speed the queries if records are retrieved in small batches. Please, use your own API key, as the one provided in the vignette has been replaced and is no longer valid.
In any event, test your code with a query that will return a short number of results, to make sure the logic works.