June 2020

Optimal workflows for package vignettes

June 2, 2020 | Posts on R-hub blog

Yet another post with a focus on package documentation! This time, we’ll cover vignettes a.k.a “long-form package documentation”, both basics around vignette building and infrastructure, and some tips for more maintainer- and user- friendliness. What is a vignette? Where does it live? In this section we shall ... [Read more...]

Reproduce economic indicators from ‘The Economist’

June 2, 2020 | Thomas Brand

Economic data (% change on year ago) Gross domestic product Industrial production Consumer prices Unemployment rate, % latest quarter* 2020† 2021† latest latest 2020† latest United States +0.3 Q1 -5.0 -5.9 +4.7 -15.0 Apr +0.3 Apr +0.6 +14.7 Apr China -0.1 Q1 -1.0 +1.2 +9.2 +5.4 Nov§ +3.3 Apr +3.0 +3.7 Q1 Japan -2.2 Q1 -3.4 -5.2 +3.0 -6.5 Mar +0.1 Apr +0.2 +2.6 Apr Britain -1.6 Q1 -7.7 -6.5 +4.0 ... [Read more...]

Extract or replace columns in a data frame using `$`

June 2, 2020 | Quantargo Blog

Columns in a data frame can be easily extracted and manipulated with the $ operator. Even new columns can be added by assigning a vector. Extract columns from a data frame with the $. Replace values of existing columns in a data frame. Add new columns to a data frame. ___$___ ___$___ Extract columns ...
[Read more...]

Creating an hex map of France electricity consumption

June 2, 2020 | Thomas M

The French Ministry for the Ecological and Inclusive Transition (for which I’m currently working) is ongoing a process of opening data related to energy consumption. Each year, we publish data for every neighborhood in France (at the iris statistical level, even adresses in some cases) and to the nature ... [Read more...]

Learning R: Build a Password Generator

June 2, 2020 | Learning Machines

It is not easy to create secure passwords. The best way is to let a computer do it by randomly combining lower- and upper-case letters, digits and other printable characters. If you want to learn how to write a small function to achieve that read on! The exact task is ... [Read more...]

Business Ready Plots with R

June 1, 2020 | Exploring Data

Quick Overview Exploring-Data is a place where I share easily digestible content aimed at making the wrangling and exploration of data more efficient (+fun). Sign up Here to join the many other subscribers who also nerd out on new tips and tricks ????...
[Read more...]

{sergeant} 0.9.0 Is On Its Way to CRAN Mirrors!

June 1, 2020 | hrbrmstr

Tis been a long time coming, but a minor change to default S3 parameters in tibbles finally caused a push of {sergeant} — the R package that lets you use the Apache Drill REST API via {DBI}, {dplyr}, or directly — to CRAN. The CRAN automatic processing system approved the release just ... [Read more...]
1 10 11 12

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)