From 4f835dfc712bb09cf90d29dbf203c84ded2999af Mon Sep 17 00:00:00 2001 From: "Adam H. Sparks" Date: Tue, 12 Mar 2024 09:45:42 +0800 Subject: [PATCH] Add JOSS badge --- README.Rmd | 14 ++++++++------ README.md | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/README.Rmd b/README.Rmd index dea114ac..af4f9589 100644 --- a/README.Rmd +++ b/README.Rmd @@ -11,6 +11,7 @@ output: github_document [![DOI](https://zenodo.org/badge/109224461.svg)](https://zenodo.org/badge/latestdoi/109224461) [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![peer-review](https://badges.ropensci.org/155_status.svg)](https://github.com/ropensci/software-review/issues/155) +[![JOSS](https://joss.theoj.org/papers/10.21105/joss.01035/status.svg)](https://doi.org/10.21105/joss.01035) [![DOI](http://joss.theoj.org/papers/10.21105/joss.01035/status.svg)](https://doi.org/10.21105/joss.01035) [![CRAN status](https://www.r-pkg.org/badges/version/nasapower)](https://CRAN.R-project.org/package=nasapower) @@ -62,12 +63,13 @@ Fetch daily “ag” community temperature, relative humidity and precipitation ```{r kingsthorpe} library("nasapower") -daily_ag <- get_power(community = "ag", - lonlat = c(151.81, -27.48), - pars = c("RH2M", "T2M", "PRECTOTCORR"), - dates = "1985-01-01", - temporal_api = "daily" - ) +daily_ag <- get_power( + community = "ag", + lonlat = c(151.81, -27.48), + pars = c("RH2M", "T2M", "PRECTOTCORR"), + dates = "1985-01-01", + temporal_api = "daily" +) daily_ag ``` diff --git a/README.md b/README.md index 0e00b823..80d62b4d 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ output: github_document [![DOI](https://zenodo.org/badge/109224461.svg)](https://zenodo.org/badge/latestdoi/109224461) [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![peer-review](https://badges.ropensci.org/155_status.svg)](https://github.com/ropensci/software-review/issues/155) +[![JOSS](https://joss.theoj.org/papers/10.21105/joss.01035/status.svg)](https://doi.org/10.21105/joss.01035) [![DOI](http://joss.theoj.org/papers/10.21105/joss.01035/status.svg)](https://doi.org/10.21105/joss.01035) [![CRAN status](https://www.r-pkg.org/badges/version/nasapower)](https://CRAN.R-project.org/package=nasapower) @@ -65,12 +66,13 @@ Fetch daily “ag” community temperature, relative humidity and precipitation ```r library("nasapower") -daily_ag <- get_power(community = "ag", - lonlat = c(151.81, -27.48), - pars = c("RH2M", "T2M", "PRECTOTCORR"), - dates = "1985-01-01", - temporal_api = "daily" - ) +daily_ag <- get_power( + community = "ag", + lonlat = c(151.81, -27.48), + pars = c("RH2M", "T2M", "PRECTOTCORR"), + dates = "1985-01-01", + temporal_api = "daily" +) daily_ag ```