wbstats is back on CRAN

Wait 5 sec.

[This article was first published on pacha.dev/blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't. If this post is useful to you I kindly ask a minimal donation on Buy Me a Coffee. It shall be used to continue my Open Source efforts. The full explanation is here: A Personal Message from an Open Source Contributor.You can send me questions for the blog using this form and subscribe to receive an email when there is a new post.Last week I needed to use wbstats to obtain some time series, and I realised it was removed from CRAN. However, it’s back now!I contacted the maintainer, who explained that CRAN was asking for some time consuming changes to the package’s structure and documentation, and it was removed over CRAN’s policy on internet access.Something similar happened to the tradestatistics package I created and that I have maintained in the last nine years. I adapted the tradestatistics approach to comply with CRAN’s policies for wbstats, which consisted in using mocked tests with pre-recorded API queries thanks to the vcr package, and now it’s back to CRAN. Other required changes where tiny changes about the documentation and the package structure.I’ll be maintaining this package now, so please send me any issues or feature requests you may have on the package’s GitHub repository.You can install:The latest release version from CRAN withinstall.packages("wbstats")orThe latest development version from github withremotes::install_github("pachadotdev/wbstats")Downloading data from the World Banklibrary(wbstats)# Population for every country from 1960 until presentd % # remove Antarctica ggplot(aes(fill = self_employed)) + geom_sf() + scale_fill_viridis_c(labels = scales::percent_format(scale = 1)) + theme(legend.position="bottom") + labs( title = indicator_info$indicator, fill = NULL, caption = paste("Source:", indicator_info$source_org) ) To leave a comment for the author, please follow the link and comment on their blog: pacha.dev/blog.R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.Continue reading: wbstats is back on CRAN