europepmc
europepmc copied to clipboard
Filter articles from a specific data or date range
I can't find an option to filter articles within a date range. An argument possibly within epmc_search()
function to narrow down to a date range. Additionally, can we curate all the articles within that range instead of defining a limit?
Hi @BryanTegomoh Please apologize my late reply. You could make use of the extensive Europe PMC search syntax to narrow down results to a specific date range. Europe PMC provides a great query builder.
Example: Publications about "SARS-CoV-2" published between 2023-09-01 and 2023-09-11.
library(europepmc)
epmc_search('(FIRST_PDATE:[2023-09-01 TO 2023-09-11]) AND "SARS-CoV-2"')
#> 801 records found, returning 100
#> # A tibble: 100 × 29
#> id source pmid pmcid doi title authorString journalTitle issue
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 37697348 MED 37697348 PMC104… 10.1… Corr… Valiente E,… BMC Res Not… 1
#> 2 37684675 MED 37684675 PMC104… 10.1… SARS… Kohler P, D… Antimicrob … 1
#> 3 PPR721552 PPR <NA> <NA> 10.1… Comp… Länsivaara … <NA> <NA>
#> 4 PPR721235 PPR <NA> <NA> 10.2… Emer… Gupta DL, R… <NA> <NA>
#> 5 PPR720954 PPR <NA> <NA> 10.2… SARS… Romeu AR. <NA> <NA>
#> 6 37682927 MED 37682927 PMC104… 10.1… Diff… Jafary F, J… PLoS One 9
#> 7 37669865 MED 37669865 PMC104… 10.2… Inhi… Soares VC, … Life Sci Al… 11
#> 8 37655875 MED 37655875 PMC105… 10.1… Inhi… Subramaniya… Am J Respir… 3
#> 9 37701824 MED 37701824 PMC104… 10.7… The … Si Y, Wu W,… PeerJ <NA>
#> 10 37684638 MED 37684638 PMC104… 10.1… Clin… Yu L, Wang … Virol J 1
#> # ℹ 90 more rows
#> # ℹ 20 more variables: journalVolume <chr>, pubYear <chr>, journalIssn <chr>,
#> # pageInfo <chr>, pubType <chr>, isOpenAccess <chr>, inEPMC <chr>,
#> # inPMC <chr>, hasPDF <chr>, hasBook <chr>, hasSuppl <chr>,
#> # citedByCount <int>, hasReferences <chr>, hasTextMinedTerms <chr>,
#> # hasDbCrossReferences <chr>, hasLabsLinks <chr>,
#> # hasTMAccessionNumbers <chr>, firstIndexDate <chr>, …
Created on 2023-09-20 with reprex v2.0.2