ropensci/europepmc

Last record is not returned

Closed this issue · 1 comments

out <- europepmc::epmc_search(query = '"2019-nCoV" OR "2019nCoV"')
#> 15997 records found, returning 100
out[100,]
#> # A tibble: 1 × 29
#>   id    source pmid  doi   title authorString journalTitle issue journalVolume
#>   <chr> <chr>  <chr> <chr> <chr> <chr>        <chr>        <chr> <chr>        
#> 1 <NA>  <NA>   <NA>  <NA>  <NA>  <NA>         <NA>         <NA>  <NA>         
#> # … with 20 more variables: 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>,
#> #   firstPublicationDate <chr>, pmcid <chr>, versionNumber <int>

Created on 2021-09-21 by the reprex package (v2.0.0)

Fixed.

library(europepmc)
out <- europepmc::epmc_search(query = '"2019-nCoV" OR "2019nCoV"')
#> 25509 records found, returning 100
out[100,]
#> # A tibble: 1 × 29
#>   id       source pmid     pmcid     doi   title authorString journalTitle issue
#>   <chr>    <chr>  <chr>    <chr>     <chr> <chr> <chr>        <chr>        <chr>
#> 1 36324100 MED    36324100 PMC96300… 10.1… Effe… Choi H, Lee… BMC Pediatr  1    
#> # ℹ 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>,
#> #   firstPublicationDate <chr>, versionNumber <int>

Created on 2023-09-20 with reprex v2.0.2