Skip to content

Commit

Permalink
Prepare for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Aug 13, 2022
1 parent 14d491e commit 60de392
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 31 deletions.
27 changes: 17 additions & 10 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ message: 'To cite package "tidyBdE" in publications use:'
type: software
license: GPL-3.0-or-later
title: 'tidyBdE: Download Data from Bank of Spain'
version: 0.2.4
version: 0.2.5
doi: 10.5281/zenodo.4673496
abstract: Tools to download data series from 'Banco de España' ('BdE') on 'tibble'
format. 'Banco de España' is the national central bank and, within the framework
Expand All @@ -30,16 +30,15 @@ preferred-citation:
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
affiliation: rOpenSpain
year: '2022'
version: 0.2.4
notes: R package version 0.2.4
doi: 10.5281/zenodo.4673496
year: '2022'
version: 0.2.5
url: https://ropenspain.github.io/tidyBdE/
abstract: Tools to download data series from 'Banco de España' ('BdE') on 'tibble'
format. 'Banco de España' is the national central bank and, within the framework
of the Single Supervisory Mechanism ('SSM'), the supervisor of the Spanish banking
system along with the European Central Bank. This package is in no way sponsored
endorsed or administered by 'Banco de España'.
abstract: Tools to download data series from Banco de España (BdE) on tibble format.
Banco de España is the national central bank and, within the framework of the
Single Supervisory Mechanism (SSM), the supervisor of the Spanish banking system
along with the European Central Bank. This package is in no way sponsored endorsed
or administered by Banco de España.
repository: https://CRAN.R-project.org/package=tidyBdE
repository-code: https://github.com/rOpenSpain/tidyBdE
url: https://ropenspain.github.io/tidyBdE/
Expand Down Expand Up @@ -92,6 +91,7 @@ references:
given-names: Kirill
orcid: https://orcid.org/0000-0002-1416-3412
year: '2022'
url: https://CRAN.R-project.org/package=dplyr
version: '>= 0.7.0'
- type: software
title: ggplot2
Expand Down Expand Up @@ -126,6 +126,7 @@ references:
given-names: Dewey
orcid: https://orcid.org/0000-0002-9415-4582
year: '2022'
url: https://CRAN.R-project.org/package=ggplot2
version: '>= 3.3.0'
- type: software
title: readr
Expand All @@ -142,6 +143,7 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0002-6983-2759
year: '2022'
url: https://CRAN.R-project.org/package=readr
version: '>= 1.0.0'
- type: software
title: scales
Expand All @@ -154,6 +156,7 @@ references:
- family-names: Seidel
given-names: Dana
year: '2022'
url: https://CRAN.R-project.org/package=scales
version: '>= 1.1.0'
- type: software
title: tibble
Expand All @@ -167,6 +170,7 @@ references:
given-names: Hadley
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=tibble
version: '>= 3.0.0'
- type: software
title: utils
Expand All @@ -190,7 +194,7 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0003-0645-5666
year: '2022'
url: https://yihui.org/knitr/
url: https://CRAN.R-project.org/package=knitr
- type: software
title: rmarkdown
abstract: 'rmarkdown: Dynamic Documents for R'
Expand Down Expand Up @@ -229,6 +233,7 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0003-3925-190X
year: '2022'
url: https://CRAN.R-project.org/package=rmarkdown
- type: software
title: testthat
abstract: 'testthat: Unit Testing for R'
Expand All @@ -238,6 +243,7 @@ references:
given-names: Hadley
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=testthat
version: '>= 3.0.0'
- type: software
title: tidyverse
Expand All @@ -248,4 +254,5 @@ references:
given-names: Hadley
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=tidyverse
version: '>= 1.3.0'
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tidyBdE
Title: Download Data from Bank of Spain
Version: 0.2.4
Version: 0.2.5
Authors@R:
person("Diego", "H. Herrero", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658", affiliation = "rOpenSpain"))
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# tidyBdE 0.2.5

- Update HTML5 due to CRAN request

# tidyBdE 0.2.4

- Update series code on `bde_ind_cpi_var()`.
Expand Down
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,21 +233,20 @@ España.

## Citation

To cite the ‘tidyBdE’ package in publications use:
To cite ‘tidyBdE’ in publications use:

H. Herrero D (2022). *tidyBdE: Download Data from Bank of Spain*.
<doi:10.5281/zenodo.4673496> <https://doi.org/10.5281/zenodo.4673496>, R
package version 0.2.4, <https://ropenspain.github.io/tidyBdE/>.
H. Herrero, D (2022). tidyBdE: Download Data from Bank of Spain.
<https://doi.org/10.5281/zenodo.4673496>,
<https://ropenspain.github.io/tidyBdE/>

A BibTeX entry for LaTeX users is

@Manual{R-tidybde,
@Manual{R-tidyBdE,
title = {{tidyBdE}: Download Data from Bank of Spain},
year = {2022},
version = {0.2.4},
author = {Diego {H. Herrero}},
note = {R package version 0.2.4},
doi = {10.5281/zenodo.4673496},
author = {Diego {H. Herrero}},
year = {2022},
version = {0.2.5},
url = {https://ropenspain.github.io/tidyBdE/},
abstract = {Tools to download data series from 'Banco de España' ('BdE') on 'tibble' format. 'Banco de España' is the national central bank and, within the framework of the Single Supervisory Mechanism ('SSM'), the supervisor of the Spanish banking system along with the European Central Bank. This package is in no way sponsored endorsed or administered by 'Banco de España'.},
abstract = {Tools to download data series from Banco de España (BdE) on tibble format. Banco de España is the national central bank and, within the framework of the Single Supervisory Mechanism (SSM), the supervisor of the Spanish banking system along with the European Central Bank. This package is in no way sponsored endorsed or administered by Banco de España.},
}
5 changes: 2 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/rOpenSpain/tidyBdE",
"issueTracker": "https://github.com/rOpenSpain/tidyBdE/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.2.4",
"version": "0.2.5",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -181,7 +181,7 @@
},
"applicationCategory": "Macroeconomics",
"isPartOf": "https://ropenspain.es/",
"fileSize": "772.085KB",
"fileSize": "776.607KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand All @@ -196,7 +196,6 @@
"name": "{tidyBdE}: Download Data from Bank of Spain",
"identifier": "10.5281/zenodo.4673496",
"url": "https://ropenspain.github.io/tidyBdE/",
"description": "R package version 0.2.4",
"@id": "https://doi.org/10.5281/zenodo.4673496",
"sameAs": "https://doi.org/10.5281/zenodo.4673496"
}
Expand Down
20 changes: 13 additions & 7 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
year <- format(Sys.time(), "%Y")
abs <- trimws(gsub("\\s+", " ", meta$Description))
abs <- gsub("'", "", abs)
doi <- "10.5281/zenodo.4673496"

bibentry(
"Manual",
header = "To cite the 'tidyBdE' package in publications use:",
title = paste("{tidyBdE}:", meta$Title),
header = paste0("To cite '", meta$Package, "' in publications use:"),
title = paste("{tidyBdE}:", gsub("'", "", meta$Title)),
doi = doi,
author = person("Diego","H. Herrero"),
year = year,
version = meta$Version,
author = person("Diego","H. Herrero"),
note = paste("R package version", meta$Version),
doi = "10.5281/zenodo.4673496",
url = unlist(strsplit(meta$URL, ","))[1],
abstract = abs,
key = "R-tidybde"
)
key = "R-tidyBdE",
textVersion = paste0(
"H. Herrero, D (", year, "). tidyBdE: ",
gsub("'", "", meta$Title), ". <https://doi.org/", doi, ">, <",
unlist(strsplit(meta$URL, ","))[1], ">"
)
)

0 comments on commit 60de392

Please sign in to comment.