ropensci/stats19

Add CITATION file

Closed this issue · 3 comments

Re-opening because the changes don't seem to have worked:

citation("stats19")
#> 
#> To cite stats19 in publications, please use:
#> 
#>   Lovelace et al, stats19: Work with Open Road Traffic Casualty
#>   Data from Great Britain. R package.
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Misc{,
#>     author = {Robin Lovelace and Malcolm Morgan and Layik Hama and Mark Padgham and David Ranzolin and Adam Sparks},
#>     title = {stats19: Work with Open Road Traffic Casualty Data from Great Britain},
#>     publisher = {CRAN},
#>     year = {2019},
#>     url = {https://itsleeds.github.io/stats19/},
#>   }

Created on 2019-02-15 by the reprex package (v0.2.1)

However it works with nasapower. Any ideas what I'm doing wrong @adamhsparks ?

citation("nasapower")
#> 
#> While nasapower does not redistribute the data in any way, we
#> encourage users to follow the requests of the POWER Project Team:
#> 
#> 'When POWER data products are used in a publication, we request
#> the following acknowledgment be included: These data were obtained
#> from the NASA Langley Research Center POWER Project funded through
#> the NASA Earth Science Directorate Applied Science Program.'
#> 
#> To cite nasapower in publications, please use:
#> 
#>   Sparks, (2018). nasapower: A NASA POWER Global Meteorology,
#>   Surface Solar Energy and Climatology Data Client for R. Journal
#>   of Open Source Software, 3(30), 1035,
#>   https://doi.org/10.21105/joss.01035
#> 
#> Sparks A (2019). _nasapower: NASA-POWER Data from R_. R package
#> version 1.0.5, <URL: https://ropensci.github.io/nasapower/>.
#> 
#> To see these entries in BibTeX format, use 'print(<citation>,
#> bibtex=TRUE)', 'toBibtex(.)', or set
#> 'options(citation.bibtex.max=999)'.

Created on 2019-02-15 by the reprex package (v0.2.1)

The CITATION file is here: https://github.com/ropensci/stats19/blob/master/inst/CITATION

Hi @layik,
I'm not sure what I'm to be looking for?

This is what I get, after installing from the GitHub repository master branch.

r$> citation("stats19")

Data provided under OGL v3.0. Cite the source and link to:
www.nationalarchives.gov.uk/doc/open-government-licence/version/3/ To cite stats19 in publications, please use:

  Lovelace, R., Morgan, M., Hama, L., Padgham, M., 2019. stats19: A package for working with open road crash data.
  Journal of Open Source Software. https://doi.org/10.21105/joss.01181

A BibTeX entry for LaTeX users is

  @Article{,
    author = {Robin Lovelace and Malcolm Morgan and Layik Hama and Mark Padgham and David Ranzolin and Adam Sparks},
    title = {stats 19: A package for working with open road crash data},
    doi = {10.21105/joss.01181},
    year = {2019},
    month = {jan},
    publisher = {The Open Journal},
    volume = {4},
    number = {33},
    pages = {1181},
    journal = {The Journal of Open Source Software},
  }

That looks perfect to me, job done! I think I just needed to update my R session when I was testing it. Many thanks @adamhsparks.