Code Monkey home page Code Monkey logo

pubmed's Introduction

Jekyll Now

This is my fork of jekyll-now, for building my github-pages.

Currently it's just a playground; it may become a personal site/blog in the near-future.

pubmed's People

Contributors

neilfws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pubmed's Issues

ADD has abstract[FILTER] to PubMed queries?

I think you should add "has abstract"[FILTER] to the PubMed queries for the "novel" findings. For example, in 1974 only 5% of citations have abstracts compared to 86% in 2014.

Unable to read the XML file

Hi Neil, I am a bit stumped and would really appreciate your advice.

I followed your code to get the xml file, but for some reason, that file cannot be read using read_xml function due to some encoding issue.

Did you do some processing to the xml file before using it for the journalsToCSV function? If i downloaded the sample xml file that you provided, I did not encounter this issue.

This is the error:
Error in doc_parse_file(con, encoding = encoding, as_html = as_html, options = options) :
Input is not proper UTF-8, indicate encoding !
Bytes: 0xA0 0x6D 0x6F 0x73 [9]

Thanks!

byjournal.R sometimes fails with 502 error

The issue here is too many queries.

One possible solution goes something like:

journals_cnt <- journals_cnt %>% mutate(journal = paste0(journal, "[JOUR]"))
q <- journals_cnt %>% pull(journal) %>% paste(collapse  = " OR ")
es <- entrez_search("pubmed", q)
x <- read_xml(as(es$file), "character")

Problem with this is that the query will be too large, so need to figure out Web history with rentrez.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.