gargantext-0.0.7.1.5.3: Search, map, share
Copyright(c) CNRS 2017
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.Core.Text.Corpus.API.Pubmed

Description

 
Synopsis

Documentation

Internals for testing

newtype ESearch #

A pubmed query. See: https://www.ncbi.nlm.nih.gov/books/NBK25499/#chapter4.ESearch The documentation for PUBMED says: Values for query keys may also be provided in term if they are preceeded by a # (%23 in the URL). While only one query_key parameter can be provided to ESearch, any number of query keys can be combined in term. Also, if query keys are provided in term, they can be combined with OR or NOT in addition to AND. Example: esearch.fcgi?db=pubmed&term=%231+AND+asthma&WebEnv=string&usehistory=y

Therefore, we can pretty-print our Query back into something that PubMed could understand.

Constructors

ESearch 

Fields

Instances

Instances details
Monoid ESearch # 
Instance details

Defined in Gargantext.Core.Text.Corpus.API.Pubmed

Semigroup ESearch # 
Instance details

Defined in Gargantext.Core.Text.Corpus.API.Pubmed

Show ESearch # 
Instance details

Defined in Gargantext.Core.Text.Corpus.API.Pubmed

Eq ESearch # 
Instance details

Defined in Gargantext.Core.Text.Corpus.API.Pubmed

Methods

(==) :: ESearch -> ESearch -> Bool #

(/=) :: ESearch -> ESearch -> Bool #

getESearch :: ESearch -> Text #

Returns an url encoded query ready to be sent to pubmed.