Hi,
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.
Thanks,
library(easyPubMed)
qr1 <- get_pubmed_ids("Nephrology Randomized Controlled Trial AND 2000 : 2021[PDAT]")
print(qr1$Count)
data1 <- fetch_pubmed_data(qr1)
df1 <- table_articles_byAuth(data1, included_authors = 'last',
autofill = TRUE, max_chars = -1)
nrow(df1)
library(writexl)
write_xlsx(df1, path = "excel_1.xlsx")