问题描述
我在使用rmarkdown / bookdown从PubMed下载的围兜条目时遇到问题。
例如:
@article{retterer1,Address = {GeneDx,Gaithersburg,Maryland,USA.},Address1 = {GeneDx,Address2 = {GeneDx,Address3 = {GeneDx,Address4 = {GeneDx,Address5 = {GeneDx,Address6 = {GeneDx,Address7 = {GeneDx,Address8 = {GeneDx,Address9 = {GeneDx,Address10 = {GeneDx,Address11 = {GeneDx,Address12 = {GeneDx,Address13 = {GeneDx,Address14 = {GeneDx,Address15 = {GeneDx,Auid = {ORCID: 0000000152522001},Author = {Retterer,Kyle and Scuffins,Julie and Schmidt,Daniel and Lewis,Rachel and Pineda-Alvarez,Daniel and Stafford,Amanda and Schmidt,Lindsay and Warren,Stephanie and Gibellini,Federica and Kondakova,Anastasia and Blair,Amanda and Bale,Sherri and Matyakhina,Ludmila and Meck,Jeanne and aradhya,Swaroop and Haverfield,Eden},crdt = {2014/10/31 06:00},Date = {2015 Aug},Date-Added = {2019-03-06 11:53:53 -0500},Date-Modified = {2019-03-07 10:58:07 -0500},Dcom = {20160601},Dep = {20141106},Doi = {10.1038/gim.2014.160},Edat = {2014/10/31 06:00},Issn = {1530-0366 (Electronic); 1098-3600 (Linking)},Jid = {9815831},Journal = {Genet Med},Jt = {genetics in medicine : official journal of the American College of Medical genetics},Language = {eng},Lid = {10.1038/gim.2014.160 {$[$}doi{$]$}},Lr = {20181113},Mh = {Algorithms; Cohort Studies; Comparative Genomic Hybridization/*methods; computational Biology/*methods; DNA/analysis/blood/genetics; *DNA copy Number Variations; *Exome; genetic Variation; High-Throughput Nucleotide Sequencing/methods; Humans},Mhda = {2016/06/02 06:00},Month = {Aug},Number = {8},Own = {NLM},Pages = {623--629},Phst = {2014/06/19 00:00 {$[$}received{$]$}; 2014/10/01 00:00 {$[$}accepted{$]$}; 2014/10/31 06:00 {$[$}entrez{$]$}; 2014/10/31 06:00 {$[$}pubmed{$]$}; 2016/06/02 06:00 {$[$}medline{$]$}},Pii = {gim2014160},Pl = {United States},Pmid = {25356966},Pst = {ppublish},Pt = {Journal Article},Rn = {9007-49-2 (DNA)},Sb = {IM},Status = {MEDLINE},Title = {Assessing copy number from exome sequencing and exome array CGH based on CNV spectrum in a large clinical cohort.},Volume = {17},Year = {2015},Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxAhLi4vLi4vcGFwZXJzL3JldHRlcmVyMjAxNWFhMDAucGRmTxEBVgAAAAABVgACAAAMTWFjaW50b3NoIEhEAAAAAAAAAAAAAAAAAAAAAAAAAEJEAAH/////FHJldHRlcmVyMjAxNWFhMDAucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAgACAAAKIGN1AAAAAAAAAAAAAAAAAAZwYXBlcnMAAgApLzpVc2VyczpkYXluZTpwYXBlcnM6cmV0dGVyZXIyMDE1YWEwMC5wZGYAAA4AKgAUAHIAZQB0AHQAZQByAGUAcgAyADAAMQA1AGEAYQAwADAALgBwAGQAZgAPABoADABNAGEAYwBpAG4AdABvAHMAaAAgAEgaraASACdVc2Vycy9kYXluZS9wYXBlcnMvcmV0dGVyZXIyMDE1YWEwMC5wZGYAABMAAS8AABUAAgAM//8AAAAIAA0AGgAkAEgAAAAAAAACAQAAAAAAAAAFAAAAAAAAAAAAAAAAAAABog==},Bdsk-Url-1 = {https://doi.org/10.1038/gim.2014.160}}
@article{retterer2,Year = {2015}}
@article{yates,Author = {Yates,Carin L and Monaghan,Kristin G and copenheaver,Deborah and Retterer,Julie and Kucera,Cathlin R and Friedman,Bethany and Richard,Gabriele and Juusola,Jane},crdt = {2017/04/21 06:00},Date = {2017 Oct},Date-Added = {2019-04-18 10:49:46 -0400},Date-Modified = {2019-04-18 18:11:17 -0400},Dcom = {20180604},Dep = {20170420},Doi = {10.1038/gim.2017.31},Edat = {2017/04/21 06:00},Lid = {10.1038/gim.2017.31 {$[$}doi{$]$}},Mh = {Abortion,Induced; Exome/genetics; Female; Fetal Death/etiology; Fetal Development/*genetics; Fetus/diagnostic imaging; Humans; Male; Mutation; Phenotype; Pregnancy; Prenatal Diagnosis/*methods; Sequence Analysis,DNA/methods; Ultrasonography; Ultrasonography,Prenatal; Whole Exome Sequencing/methods},Mhda = {2018/06/05 06:00},Month = {Oct},Number = {10},Pages = {1171--1178},Phst = {2016/09/30 00:00 {$[$}received{$]$}; 2017/02/08 00:00 {$[$}accepted{$]$}; 2017/04/21 06:00 {$[$}pubmed{$]$}; 2018/06/05 06:00 {$[$}medline{$]$}; 2017/04/21 06:00 {$[$}entrez{$]$}},Pii = {gim201731},Pmid = {28425981},Title = {Whole-exome sequencing on deceased fetuses with ultrasound anomalies: expanding our kNowledge of genetic disease during fetal development.},Volume = {19},Year = {2017},Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxAeLi4vLi4vcGFwZXJzL3lhdGVzMjAxN2FhMDAucGRmTxEBSAAAAAABSAACAAAMTWFjaW50b3NoIEhEAAAAAAAAAAAAAAAAAAAAAAAAAEJEAAH/////EXlhdGVzMjAxN2FhMDAucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAgACAAAKIGN1AAAAAAAAAAAAAAAAAAZwYXBlcnMAAgAmLzpVc2VyczpkYXluZTpwYXBlcnM6eWF0ZXMyMDE3YWEwMC5wZGYADgAkABEAeQBhAHQAZQBzADIAMAAxADcAYQBhADAAMAAuAHAAZABmAA8AGgAMAE0AYQBjAGkAbgB0AG8AcwBoACAASABEABIAJFVzZXJzL2RheW5lL3BhcGVycy95YXRlczIwMTdhYTAwLnBkZgATAAEvAAAVAAIADP//AAAACAANABoAJABFAAAAAAAAAgEAAAAAAAAABQAAAAAAAAAAAAAAAAAAAZE=},Bdsk-Url-1 = {https://doi.org/10.1038/gim.2017.31}}
在上面,@retterer1
给出了PubMed记录,而@retterer2
给出了从BibDesk手动复制的“最小”引用记录。引用@retterer1
时,rmarkdown / bookdown不会标识日期,而是使用n.d建立引用。 (无日期)。最小引用被正确解析。反正有解决此问题的方法吗?不编辑我的围嘴文件?我猜问题出在完整记录的“日期”字段中?
注意,这不是单个条目问题。我在PubMed上下载的所有引文中都有它。
---
title: "R Notebook"
output:
html_document:
df_print: paged
editor_options:
chunk_output_type: inline
bibliography: test.bib
biblio-style: apalike
link-citations: yes
---
Test it out [@retterer2; @yates].
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)