From e5db68ac0ec0cd4c067bd02bc4b36dd91bce5ec7 Mon Sep 17 00:00:00 2001 From: huizezhang-sherry Date: Sun, 11 Aug 2024 15:43:40 -0700 Subject: [PATCH] add JSS references --- DESCRIPTION | 2 +- R/face-spatial-temporal.R | 1 + inst/CITATION | 26 ++++++++++++++++++++++++++ man/cubble-package.Rd | 2 +- man/face.Rd | 3 +++ 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 inst/CITATION diff --git a/DESCRIPTION b/DESCRIPTION index 4a63ad90..8f27e569 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -8,7 +8,7 @@ Authors@R: c( person("Nicolas", "Langrené", email = "nicolas.langrene@csiro.au", role = "aut", comment = c(ORCID = "0000-0001-7601-4618")), person("Patricia", "Menéndez", email = "patricia.menendez@unimelb.edu.au", role = "aut", comment = c(ORCID = "0000-0003-0701-6315")) ) -Description: A spatiotemperal data object in a relational data structure to separate the recording of time variant/ invariant variables. +Description: A spatiotemperal data object in a relational data structure to separate the recording of time variant/ invariant variables: . License: MIT + file LICENSE Language: en-US Encoding: UTF-8 diff --git a/R/face-spatial-temporal.R b/R/face-spatial-temporal.R index 22532365..6f5fa5fa 100644 --- a/R/face-spatial-temporal.R +++ b/R/face-spatial-temporal.R @@ -11,6 +11,7 @@ #' @return a cubble object #' @rdname face #' @export +#' @references [cubble: An R Package for Organizing and Wrangling Multivariate Spatio-Temporal Data](doi:10.18637/jss.v110.i07) #' @examples #' cb_long <- climate_mel |> face_temporal() #' cb_back <- cb_long |> face_spatial() diff --git a/inst/CITATION b/inst/CITATION new file mode 100644 index 00000000..99ea976c --- /dev/null +++ b/inst/CITATION @@ -0,0 +1,26 @@ +bibentry(bibtype = "Article", + title = "{cubble}: An {R} Package for Organizing and Wrangling Multivariate Spatio-Temporal Data", + author = c(person(given = c("H.", "Sherry"), + family = "Zhang", + email = "huize.zhang@monash.edu"), + person(given = "Dianne", + family = "Cook", + email = "dicook@monash.edu"), + person(given = "Ursula", + family = "Laa", + email = "ursula.laa@boku.ac.at"), + person(given = "Nicolas", + family = "Langren{\\'e}", + email = "nicolaslangrene@uic.edu.cn"), + person(given = "Patricia", + family = "Men{\\'e}ndez", + email = "Patricia.menendez@unimelb.edu.au")), + journal = "Journal of Statistical Software", + year = "2024", + volume = "110", + number = "7", + pages = "1--27", + doi = "10.18637/jss.v110.i07", + header = "To cite cubble in publications use:" +) + diff --git a/man/cubble-package.Rd b/man/cubble-package.Rd index 28a10b6e..fa4fc1ea 100644 --- a/man/cubble-package.Rd +++ b/man/cubble-package.Rd @@ -7,7 +7,7 @@ \description{ \if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width='120'}} -A spatiotemperal data object in a relational data structure to separate the recording of time variant/ invariant variables. +A spatiotemperal data object in a relational data structure to separate the recording of time variant/ invariant variables: \doi{10.18637/jss.v110.i07}. } \seealso{ Useful links: diff --git a/man/face.Rd b/man/face.Rd index 0e76356e..5ce4ad25 100644 --- a/man/face.Rd +++ b/man/face.Rd @@ -42,3 +42,6 @@ cb_long <- climate_mel |> face_temporal() cb_back <- cb_long |> face_spatial() identical(climate_mel, cb_back) } +\references{ +\href{doi:10.18637/jss.v110.i07}{cubble: An R Package for Organizing and Wrangling Multivariate Spatio-Temporal Data} +}