Skip to content

Instantly share code, notes, and snippets.

@njahn82
Created August 12, 2019 08:00
Show Gist options
  • Select an option

  • Save njahn82/689f43066f38f933e24cdbd506fb9f94 to your computer and use it in GitHub Desktop.

Select an option

Save njahn82/689f43066f38f933e24cdbd506fb9f94 to your computer and use it in GitHub Desktop.
Europe PMC hits Example
my_query <-
  '(TITLE:"older adult" or TITLE:elderly) and (TITLE:falls or TITLE:trauma)'
europepmc::epmc_hits_trend(query = my_query,
                           period = 2008:2018,
                           data_src = 'med')
#> # A tibble: 11 x 3
#>     year all_hits query_hits
#>    <int>    <dbl>      <dbl>
#>  1  2008   761217         72
#>  2  2009   792543         69
#>  3  2010   850608         65
#>  4  2011   904071         70
#>  5  2012   945148         77
#>  6  2013  1002309         78
#>  7  2014  1053666         74
#>  8  2015  1093785         82
#>  9  2016  1112258         79
#> 10  2017  1129322         75
#> 11  2018  1163162         92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment