Skip to content

Commit

Permalink
Prepare for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Oct 7, 2022
1 parent 7e38422 commit e9439e7
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 16 deletions.
14 changes: 11 additions & 3 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.5.9000
version: 0.3.0
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 @@ -32,7 +32,7 @@ preferred-citation:
affiliation: rOpenSpain
doi: 10.5281/zenodo.4673496
year: '2022'
version: 0.2.5.9000
version: 0.3.0
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
Expand Down Expand Up @@ -91,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 @@ -125,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 @@ -141,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 @@ -153,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 @@ -166,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 @@ -189,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 @@ -228,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 @@ -237,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 @@ -247,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.5.9000
Version: 0.3.0
Authors@R:
person("Diego", "H. Herrero", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658", affiliation = "rOpenSpain"))
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tidyBdE (development version)
# tidyBdE 0.3.0

- Overall improvements on downloading files:

Expand Down
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Alternatively, you can install the developing version of **tidyBdE**
using the [r-universe](https://ropenspain.r-universe.dev/ui#builds):

``` r

# Enable this universe
options(repos = c(
ropenspain = "https://ropenspain.r-universe.dev",
Expand All @@ -68,7 +67,6 @@ The basic entry point for searching time-series are the catalogs
(*indexes*) of information. You can search any series by name:

``` r

library(tidyBdE)

# Load tidyverse for better handling
Expand Down Expand Up @@ -98,7 +96,6 @@ exchange rate using the sequential number reference

``` r


seq_number <- XR_GBP %>%
# First record
slice(1) %>%
Expand All @@ -119,7 +116,6 @@ The package also provides a custom `ggplot2` theme based on the
publications of BdE:

``` r

ggplot(time_series, aes(x = Date, y = EUR_GBP_XR)) +
geom_line(colour = bde_vivid_pal()(1)) +
geom_smooth(method = "gam", colour = bde_vivid_pal()(2)[2]) +
Expand Down Expand Up @@ -148,7 +144,6 @@ of the most relevant macroeconomic series, so there is no need to look
for them in advance:

``` r

gdp <- bde_ind_gdp_var("values")
gdp$label <- "GDP YoY"

Expand Down Expand Up @@ -179,14 +174,12 @@ available.

``` r


scales::show_col(bde_rose_pal()(6))
```

<img src="man/figures/README-palettes-1.png" width="100%" />

``` r

scales::show_col(bde_vivid_pal()(6))
```

Expand Down Expand Up @@ -253,7 +246,7 @@ A BibTeX entry for LaTeX users is
doi = {10.5281/zenodo.4673496},
author = {Diego {H. Herrero}},
year = {2022},
version = {0.2.5.9000},
version = {0.3.0},
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.},
}
6 changes: 3 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"codeRepository": "https://github.com/rOpenSpain/tidyBdE",
"issueTracker": "https://github.com/rOpenSpain/tidyBdE/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.2.5.9000",
"version": "0.3.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.2.1 (2022-06-23)",
"runtimePlatform": "R version 4.2.1 (2022-06-23 ucrt)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -181,7 +181,7 @@
},
"applicationCategory": "Macroeconomics",
"isPartOf": "https://ropenspain.es/",
"fileSize": "12022.582KB",
"fileSize": "779.511KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
Binary file modified man/figures/README-chart-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-macroseries-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-palettes-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-palettes-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/chart-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/macroseries-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e9439e7

Please sign in to comment.