ropenspain / tidybde Goto Github PK
View Code? Open in Web Editor NEWR package that helps to retrieve data from Banco de España
Home Page: https://ropenspain.github.io/tidyBdE/
License: GNU General Public License v3.0
R package that helps to retrieve data from Banco de España
Home Page: https://ropenspain.github.io/tidyBdE/
License: GNU General Public License v3.0
Prepare for release:
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version()
Following email from Hadley:
Your package, tidyBdE, lists the tidyverse in either Depends,
Imports, or Suggests in the DESCRIPTION file. This is a bad idea because,
in short, the tidyverse is a set of packages designed for interactive data
analysis, and it includes a very large number (>80) of direct and indirect
dependencies, most of which your package probably doesn't use.
Instead of depending on the entire tidyverse, please import from, suggest,
or depend on the packages in the tidyverse that you actually use. This
will make your package faster to install and will head off potential
problems down the road.
Thanks!
Hadley
Warning messages:
1: The `.data` argument of `add_column()` must be a data frame as of tibble 2.1.1.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
Align ggplot
palettes with usual practices, i.e. scale_fill_<palettename>
.
Consider creating a gradient scale from rose palette.
Prepare for release:
git pull
urlchecker::url_check()
devtools::build_readme()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version(push = TRUE)
Prepare for release:
git pull
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
git push
usethis::use_github_release()
usethis::use_dev_version()
git push
Prepare for release:
git pull
urlchecker::url_check()
devtools::build_readme()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version(push = TRUE)
Deprecated in ggplot2 3.5.0, need also to set minimum version in DESCRIPTION
Prepare for release:
git pull
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('minor')
devtools::submit_cran()
Wait for CRAN...
git push
usethis::use_github_release()
usethis::use_dev_version()
git push
Completed e03ecd5
Prepare for release:
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version()
Hola @dieghernan ,
Estoy comprobando los resultados de la nueva función para el gdp
y veo estos resultados:
> gdp <- bde_series_load(3777060, series_label = "GDP_quarterly_value")
> tail(gdp)
# A tibble: 6 × 2
Date GDP_quarterly_value
<date> <dbl>
1 2019-12-01 324901
2 2020-03-01 289961
3 2020-06-01 250838
4 2020-09-01 281956
5 2020-12-01 298943
6 2021-03-01 280524
Y vaya, los resultados no me cuadran con los valores del PIB que tenía en mente. Nuestro PIB es del orden del 1.2MM€
(un billón doscientos mil...).
Gracias de nuevo!
Carlos.
Originally posted by @coforfe in #6 (comment)
Prepare for release:
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
Submit to CRAN:
usethis::use_version('minor')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version()
Prepare for release:
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version()
Prepare for release:
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version()
git hash: 690382ce
Important: All failing checks above must be addressed prior to proceeding
Package License: GPL (>= 3)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
type | package | ncalls |
---|---|---|
internal | base | 94 |
internal | tidyBdE | 37 |
internal | grDevices | 8 |
internal | stats | 2 |
imports | ggplot2 | 20 |
imports | readr | 6 |
imports | tibble | 2 |
imports | utils | 2 |
imports | dplyr | 1 |
imports | scales | NA |
imports | tidyr | NA |
suggests | knitr | NA |
suggests | rmarkdown | NA |
suggests | testthat | NA |
linking_to | NA | NA |
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table.
c (16), for (8), lapply (8), paste0 (8), names (7), seq_len (6), as.character (4), length (4), switch (4), warning (3), file.path (2), grep (2), readLines (2), tryCatch (2), unlist (2), url (2), vapply (2), file.exists (1), getOption (1), gsub (1), is.null (1), match (1), nrow (1), path.expand (1), rep (1), setdiff (1), substr (1), tolower (1), toupper (1)
bde_series_load (10), bde_hlp_return_null (6), bde_hlp_download (3), bde_catalog_load (2), bde_catalog_search (1), bde_catalog_update (1), bde_check_access (1), bde_hlp_cachedir (1), bde_hlp_guess (1), bde_hlp_tochar (1), bde_hlp_todouble (1), bde_ind_gdp_quarterly (1), bde_ind_gdp_var (1), bde_ind_ibex_daily (1), bde_ind_ibex_monthly (1), bde_ind_population (1), bde_parse_dates (1), bde_rose_pal (1), bde_series_full_load (1), bde_vivid_pal (1)
element_text (8), element_blank (3), unit (3), element_line (2), element_rect (2), rel (2)
palette (8)
locale (6)
end (1), line (1)
tibble (2)
read.csv2 (2)
bind_rows (1)
NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately.
This package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing.
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
The following terminology is used:
loc
= "Lines of Code"fn
= "function"exp
/not_exp
= exported / not exportedAll parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the checks_to_markdown()
function
The final measure (fn_call_network_size
) is the total number of calls between functions (in R), or more abstract relationships between code objects in other languages. Values are flagged as "noteworthy" when they lie in the upper or lower 5th percentile.
measure | value | percentile | noteworthy |
---|---|---|---|
files_R | 9 | 55.2 | |
files_vignettes | 3 | 92.4 | |
files_tests | 5 | 81.7 | |
loc_R | 766 | 60.5 | |
loc_vignettes | 383 | 71.2 | |
loc_tests | 184 | 53.0 | |
num_vignettes | 3 | 94.2 | |
n_fns_r | 61 | 62.9 | |
n_fns_r_exported | 24 | 72.5 | |
n_fns_r_not_exported | 37 | 58.9 | |
n_fns_per_file_r | 4 | 59.3 | |
num_params_per_fn | 2 | 11.9 | |
loc_per_fn_r | 12 | 36.1 | |
loc_per_fn_r_exp | 10 | 24.4 | |
loc_per_fn_r_not_exp | 12 | 39.1 | |
rel_whitespace_R | 24 | 68.4 | |
rel_whitespace_vignettes | 31 | 69.4 | |
rel_whitespace_tests | 42 | 66.2 | |
doclines_per_fn_exp | 52 | 66.2 | |
doclines_per_fn_not_exp | 0 | 0.0 | TRUE |
fn_call_network_size | 44 | 63.6 |
An interactive visualisation of calls between objects in the package has been uploaded as a workflow artefact. To view it, click on results from the latest 'pkgcheck' action, scroll to the bottom, and click on the 'visual-network' artefact.
goodpractice
and other checks
GitHub Workflow Results
id | name | conclusion | sha | run_number | date |
---|---|---|---|---|---|
5713100689 | Clean pkgdown manually | success | 67172e | 34 | 2023-07-31 |
5625328460 | Clear GHA caches manually | success | c763b6 | 5 | 2023-07-21 |
5741458076 | CRAN Status Monitor | success | 67172e | 88 | 2023-08-02 |
5751196859 | lintr | success | 690382 | 176 | 2023-08-03 |
5713176158 | pages build and deployment | success | 12800d | 102 | 2023-07-31 |
5751206607 | pkgcheck | NA | 690382 | 1 | 2023-08-03 |
5751196863 | R-CMD-check | NA | 690382 | 419 | 2023-08-03 |
5751196861 | rostemplate-gh-pages | NA | 690382 | 183 | 2023-08-03 |
5751196879 | test-coverage | success | 690382 | 176 | 2023-08-03 |
5625331896 | update-docs | success | c763b6 | 81 | 2023-07-21 |
goodpractice
resultsR CMD check
with rcmdcheckrcmdcheck found no errors, warnings, or notes
Package coverage: 99.54
The following functions have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
bde_series_full_load | 23 |
bde_series_load | 21 |
bde_catalog_load | 17 |
lintr found the following 13 potential issues:
message | number of times |
---|---|
Avoid library() and require() calls in packages | 11 |
Lines should not be more than 80 characters. | 2 |
package | version |
---|---|
pkgstats | 0.1.3.4 |
pkgcheck | 0.1.2.1 |
Prepare for release:
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version()
Prepare for release:
git pull
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
git push
usethis::use_github_release()
usethis::use_dev_version()
git push
Prepare for release:
git pull
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
git push
usethis::use_github_release()
usethis::use_dev_version()
git push
First release:
usethis::use_cran_comments()
Title:
and Description:
@returns
and @examples
Authors@R:
includes a copyright holder (role 'cph')Prepare for release:
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
Submit to CRAN:
usethis::use_version('minor')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version()
Prepare for release:
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version()
Hola Diego,
Primeramente darte las gracias por crear este paquete.
Estoy viendo la forma de poder conseguir los mismos datos de "PIB" trimestral como los que tienes en el artículo. Y claro, en el propio código de la viñetea aparece una función bde_ind_gdp_quarterly()
que ahora veo que no está disponible. Solo veo la variación bde_ind_gdp_var()
.
¿Sería posible el volver incluirla como función?.
O vaya, si no esposible, cómo podría acceder a los datos trimestrales. He estado buscando con `bde_catalog_search()" y no he sido capaz de encontrarla.
Gracias!
Calos Ortega.
Prepare for release:
git pull
urlchecker::url_check()
devtools::build_readme()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version(push = TRUE)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.