Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use the PubMed API to search for an article with an exact title?

I'm trying to use the PubMed API to search for articles with an exact title. As an example, I want to search for the title: The cost-effectiveness of mirtazapine versus paroxetine in treating people with depression in primary care.

I want up to 1000 results in JSON format, so I know that the first part of my URL should look like this:

http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=json&retmax=1000&term=

How do I add a title search as a GET parameter?

I've been using the Pubmed advanced search constructor, and that suggests that the query should look like The cost-effectiveness of mirtazapine versus paroxetine in treating people with depression in primary care[Title].

But if I try just adding that to the URL term=, PubMed tries to break down the title into all kinds of peculiar queries:

http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=json&retmax=1000&term=The%20cost-effectiveness%20of%20mirtazapine%20versus%20paroxetine%20in%20treating%20people%20with%20depression%20in%20primary%20care[Title]

How can I specify an exact title as a GET param?

like image 646
Richard Avatar asked Aug 17 '15 13:08

Richard


People also ask

How can you find the free full text of an article when searching PubMed?

Free full text filter On the filter sidebar, click "Free full text" to narrow results to resources that are available for free on the web, including PubMed Central, Bookshelf, and publishers' websites. Alternately, include free full text[Filter] in your query.

How do I find articles on PubMed?

To search for primary research articles go to the PubMed home page. Click on Clinical Queries – the 4th option in the PubMed Tools (the middle of 3 columns). Enter your search terms and click on the search box. Now click on See All and follow steps 3 to 5 above.

How do I search in PMC?

To search for full-text articles in PMC, type the term or concept you are looking for into the search box at the top of any PMC page and click the search button or hit enter. Suggestions will display as you type your search terms.

How would you display all of your PubMed search results on one page?

The current default in PubMed displays multiple items in the Summary format, 20 per page, and sorted by items recently added at the top. To change this, access My NCBI, click on "PubMed Preferences," then "Result Display Settings" (see Figure 1). Select either the Abstract or the Summary format.


1 Answers

Use field=title

http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=json&retmax=1000&term=The%20cost-effectiveness%20of%20mirtazapine%20versus%20paroxetine%20in%20treating%20people%20with%20depression%20in%20primary%20care&field=title

Check out ESearch API for more information: http://www.ncbi.nlm.nih.gov/books/NBK25499/#_chapter4_ESearch_

like image 66
Bless Avatar answered Oct 01 '22 05:10

Bless