Entering edit mode
3.6 years ago
monyafeldman
•
0
I'm new to Entrez searching, and I've been looking at the following article: https://dataguide.nlm.nih.gov/classes/intro/samplecode.html
Here is what I have:
esearch -db pubmed -query "(diabetes AND pregnancy AND NIH)" -datetype PDAT -mindate 2015 | \
efetch -format xml | \
xtract -pattern Grant -element Agency | \
sort-uniq-count-rank | \
head -n 2
But I don't think this is correct. Is there a way to compare only the Agency names with "NIH?"