quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.89k stars 321 forks source link

Adding references using PMID #513

Open dragonstyle opened 2 years ago

dragonstyle commented 2 years ago

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/509

Originally posted by **choxos** April 3, 2022 Hi, It seems some of the PubMed references could not be found by Insert Citation tool. For instance: https://pubmed.ncbi.nlm.nih.gov/20930260/. It would be great if you added inserting citations by PMID (just like Zotero). Ahmad
dragonstyle commented 2 years ago

2022-04-03T12:55:28.603342Z [rsession-charlesteague] ERROR Error fetching CSL for DOI: Error in download.file("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&id=20930260&tool=rstudio&email=pubmed%40rstudio.com&retmode=json", : ||| cannot open URL 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&id=20930260&tool=rstudio&email=pubmed%40rstudio.com&retmode=json'|||In addition: Warning messages:|||1: In download.file("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&id=20930260&tool=rstudio&email=pubmed%40rstudio.com&retmode=json", :||| downloaded length 0 != reported length 87|||2: In download.file("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&id=20930260&tool=rstudio&email=pubmed%40rstudio.com&retmode=json", :||| cannot open URL 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&id=20930260&tool=rstudio&email=pubmed%40rstudio.com&retmode=json': HTTP status was '429 Unknown Error'|||Execution halted; LOGGED FROM: void rstudio::session::modules::panmirror::pubmed::(anonymous namespace)::pubMedRequest(const std::string &, http::Fields, const json::JsonRpcFunctionContinuation &, const rstudio::session::modules::panmirror::JsonHandler &) src/cpp/session/modules/panmirror/SessionPanmirrorPubMed.cpp:210