TidyBlocks: using the language of the tidyverse in a blocks-based interface - Maya Gans - Lightning Talk

February 3, 2020 Maya Gans

As an intern at RStudio, I developed a blocks-based coding language mimicking the verb-driven programming of the tidyverse. Blocks-based coding environments are a popular way to introduce programming to novices. Instead of typing in code, users click blocks together to create loops, conditionals, and expressions. Studies have shown that students are more successful and more interested in coding when introduced through a block-based language like Scratch or Snap! rather than a text-based language. However, it's much easier to express control flow with these tools than to manipulate data: adding 1 to a variable requires several steps, and there are no built-in capabilities for working with tabular data. On the other hand, R's tidyverse libraries provide a predictable, consistent grammar for doing these tasks. As an intern at RStudio, I developed a blocks-based coding language mimicking the verb driven programming of the tidyverse. Tabular data can be imported and transformed using verbs like filter, select, and summarize, and functions can be strung together using pipes, which users can think of as meaning "and then". The talk will include a demo of TidyBlocks and a description of how we're testing and improving it.

A 5-minute presentation in our Lightning Talks series

About the Author

Maya Gans

I am a mycologist turned data scientist. I love statistics, data visualization, and all things JavaScript. I am currently an intern at RStudio designing a visual block-based programming language. I create music-related infographics for JamBase.com. When I’m not coding, I’m climbing tall mountains.

Follow on Twitter Follow on Linkedin More Content by Maya Gans
Previous Video
Data Science for Software Engineers: busting software myths with R - Mx. Yim Register - Lightning Talk
Data Science for Software Engineers: busting software myths with R - Mx. Yim Register - Lightning Talk

Is agile development really the secret to success? Do some languages actually cause more defects than other...

Next Video
A high school student’s journey to bring R into the classroom - Jay Campanell - Lightning Talk
A high school student’s journey to bring R into the classroom - Jay Campanell - Lightning Talk

My 8th grade capstone project introduced me to R. The project was a data visualization about breakfast taco...