isciences / exactextractr

R package for fast and accurate raster zonal statistics
https://isciences.gitlab.io/exactextractr/
274 stars 26 forks source link

citation? #42

Closed mikejohnson51 closed 3 years ago

mikejohnson51 commented 3 years ago

This is a hugely valuable library. Is there a preferred citation for those using in for peer-review papers?

Thanks for the great work!

Mike

dbaston commented 3 years ago

Thank you! I think the default output of citation('exactextractr') is fine:

> citation('exactextractr')

To cite package ‘exactextractr’ in publications use:

  Daniel Baston (2020). exactextractr: Fast Extraction from Raster Datasets using Polygons. R package version 0.5.0.
  https://CRAN.R-project.org/package=exactextractr

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {exactextractr: Fast Extraction from Raster Datasets using Polygons},
    author = {{Daniel Baston}},
    year = {2020},
    note = {R package version 0.5.0},
    url = {https://CRAN.R-project.org/package=exactextractr},
  }
mikejohnson51 commented 3 years ago

Awesome, thanks @dbaston!

szylinski-sa commented 4 months ago

I've noticed that the author field includes {{ }}, which results in citations printed with the name as-is "Daniel Baston 2020" rather than the standard "Baston 2020" that results from single { }. Is that intended?

dbaston commented 4 months ago

Not intended, and fixed in https://github.com/isciences/exactextractr/commit/efa5d50d0301df1477a883ac6f6c504c1cf5d8a1. Thanks.