Running GitHub Actions Sequentially

July 26, 2020 | Steven M. Mortimer

TL;DR: If you need sequential execution in GitHub Actions consider these solutions: Sequential steps: Steps within a job are always executed sequentially! Sequential jobs: Set max-parallel: 1 within the jobs.strategy element of the workflow. Sequential workflows: Use a repository_dispatch API call at the end of the workflow to ...
[Read more...]

R can help decide the opening of pandemic-ravaged economies

July 26, 2020 | Hrihikesh Vinod

Epidemiological models do not provide death forecasts.  Statistical models using inverse Mills ratio, generalized linear models (GLM) with Poisson link for death count data plus autoregressive distributed lag (ARDL) models can provide improved death forecasts for individual states. See details at http://ssrn.com/abstract=3637682  and http://ssrn.com/abstract=3649680 ... [Read more...]

A beginner’s guide to Shiny modules

July 25, 2020 | rstats | Emily Riederer

Recently, I argued the case on Twitter that Shiny modules are not an advanced topic and can actually be a great way for novice Shiny developers to start building more complex applications. My Shiny hot take is that modules are **not** an advanced topic. IMHO it's so much easier and ...
[Read more...]

Moving House

July 25, 2020 | R | Quantum Jitter

After reading up on Blogdown, I decided to take the plunge and move my Wordpress blog thinkr to Hugo Academic + Netlify as Quantum Jitter. Motivation My existing site looks (soon-to-be looked) pretty good. But it’s expensive to maintain. I was sp... [Read more...]

Favourite Things

July 25, 2020 | R | Quantum Jitter

theme_set(theme_bw())

cols <- wes_palette(name = "IsleofDogs1")
Each project closes with a table summarising the R tools used. By visualising my most frequently used packages and functions I get a sense of where I may most benefit from going deeper and keeping abreast of the latest breaking changes. I may also spot superseded functions e.g. ...
[Read more...]

Spotify Cross-Playlist Predictions, Part 2

July 25, 2020 | R on Data & The World

This is a follow up to the previous post, where the mechanics of making cross-playlist predictions were covered. This post covers the second half of the project: now that we have the analysis method and the important functions worked out in practice, we need to code this functionality into a ...
[Read more...]

evaluating vector space models with word analogies

July 25, 2020 | Jason Timm

Introduction Corpus & model Evaluation & analogy Experimental set-up Results: model parameters Results: analogy categories Visualizing vector offsets Summary & caveats References Introduction This post walks through corpus-based methods for evaluating the efficacy of vector space models in capturing semantic relations. Here we consider the standard evaluation tool for VSMs: the offset method ...
[Read more...]

Aligning the Dots On COVID Prison Waffles

July 24, 2020 | hrbrmstr

The Marshall Project has a solid story and set of visualizations on the impact of COVID-19 in U.S. prisons. They keep the data (and vis) regularly updated. They do great work and this is an important topic, but this visualization breaks my “ordered grid” OCD: To be fair, it’...
[Read more...]

labourR 1.0.0: Automatic Coding of Occupation Titles

July 24, 2020 | Alexandros Kouretsis

Occupations classification is an important step in tasks such as labour market analysis, epidemiological studies and official statistics. To assist research on the labour market, ESCO has defined a taxonomy for occupations. Occupations are specified and organized in a hierarchical structure based on the International Standard Classification of Occupations (ISCO). ...
[Read more...]

Preview data with either head or heaD

July 24, 2020 | Okan Bulut

R is a case sensitive programming language, which sometimes creates unusual and yet annoying problems for users. A common mistake that I often make when using R is to press the shift button too early when I use the head() function – which results in heaD(). However, this returns an error ... [Read more...]

River flow directions

July 23, 2020 | R on Dominic Royé

I recently created a visualization of the distribution of river flow directions and also of coastal orientations. Following its publication in social networks (here), I was asked to make a post about how I did it. Well, here we go to start with an example of rivers, coastal orientation is ...
[Read more...]

Supervised Machine Learning for Text Analysis in R

July 23, 2020 | rstats | Julia Silge

Today, Emil Hvitfeldt and I led a useR! 2020 online tutorial on predictive modeling with text using tidy data principles. This tutorial was hosted by R-Ladies en Argentina; huge thanks to the organizers for their leadership and effort in making this tutorial possible. Materials for this tutorial are available on GitHub, ...
[Read more...]
1 43 44 45 46 47 1,729