2016-11-26 11 views
1

私はpmidのセットを持っています。タイトル、雑誌、号、ページ番号、要約などの情報を得ることが可能かどうかを知りたいですか?pubmedから情報を取得する方法

# Sample data 
pmid<-c(8339401,8485120,8427851,3418853,3195585,2643302,7947591,8274474,8243847) 

答えて

1

はこれを試してみてください:

library(RISmed) 

e <- EUtilsGet(pmid) 

ArticleTitle(e) 
MedlineTA(e) 
Volume(e) 
Issue(e) 
AbstractText(e) 
MedlinePgn(e) 
PMID(e) # same as pmid in question except character class 

help(package = RISmed) 
str(e) 

またのためのgoogle:たとえば

をRISmed:あなたは、パッケージを

> library(RISmed) 
> e <- EUtilsGet(pmid) 
> ArticleTitle(e) 
[1] "LDL subclass phenotypes and the insulin resistance syndrome in women."                 
[2] "Genetics of LDL subclass phenotypes in women twins. Concordance, heritability, and commingling analysis."        
[3] "Effect of hepatic lipase on LDL in normal men and those with coronary artery disease."             
[4] "Low-density lipoprotein subclass patterns and risk of myocardial infarction."               
[5] "Inheritance of low-density lipoprotein subclass patterns: results of complex segregation analysis."          
[6] "Plasma triglyceride as a risk factor for coronary heart disease. The epidemiologic evidence and beyond."        
[7] "Genetic predictors of FCHL in four large pedigrees. Influence of ApoB level major locus predicted genotype and LDL subclass phenotype." 
[8] "Lack of association between sex hormones and Lp(a) concentrations in American and Finnish men."           
[9] "Is microalbuminuria part of the prediabetic state? The Mexico City Diabetes Study." 
+0

インストールし、ロードしましたか? 'pmid'はあなたが質問に示したものと同じですか?それは私のために働いた。 –

+0

問題がどこにあるか分かりました。私はパッケージが古いか、何がわからないのでパッケージを再インストールする必要がありました。 1つの質問は、各タイトルの前にすべての情報を追加することは可能でしょうか。たとえば、最初の論文、タイトル、問題、ボリューム、ページ、そして抽象を含む。それから、それの下で、他のもののために? – nik

+0

'data.frame(title = ArticleTitle(e)、... etc ...、stringsAsFactors = FALSE)'です。 –

関連する問題