Hello everybody,
I am having problems with the RISmed R package.
I used code bellow a week ago and everything worked perfectly:
library(RISmed)
search_query <- EUtilsSummary(search_topic, retmax=1000, mindate=2019,maxdate=2021)
summary(search_query)
QueryId(search_query)
records<- EUtilsGet(search_query)
class(records)
pubmed_data <- data.frame('Title'=ArticleTitle(records),'Abstract'=AbstractText(records), 'PMID'=PMID(records), 'Year'=YearPubmed(records))
head(pubmed_data,1)
str(pubmed_data)
write.table(pubmed_data, file = "pubmed.tsv", sep = '\t')
Todaj I got this error message:
> search_query <- EUtilsSummary(search_topic, retmax=1000, mindate=2019,maxdate=2021)
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
cannot open URL 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=Preterm+delivery[TI]+AND+metabolomics[AB]&retmax=1000&mindate=2019&maxdate=2021&tool=RISmed&email=s.a.kovalchik@gmail.com': HTTP status was '500 Internal Server Error
Is it something wrong with Pubmed?
Thanks, Leon
0 answers
No answers yet.
Log in to answer this question.