Home

Welcome To My Data Blog

Hi I' am Pascal

Hi I' am Pascal

Thanks for checking out my blog. You can find all kinds of blog posts about R, Python, statistics, and R Shiny on here. Enjoy exploring and feel free to leave comments or message me directly at pascal.sfu.ca.  

 

I also created a website from scratch with Shiny at https://pascal-schmidt-ds.com where you can find my interactive resume and also some posts and personal projects. It is still under construction but will be finalized soon. 

Blog Posts

How to Create Dynamic Tabs With Plotly Plots in R Shiny

Customizing your application and giving a better user experience is crucial for a great application. In this tutorial, we will be creating dynamic tabs with R Shiny and the gapminder data set. Here is the application we will be creating: Let’s jump into the tutorial. First, we will be loading the libraries. library(plotly) library(shiny) library(gapminder) library(tidyverse) We are using plotly… Read More

Communicating Between Shiny Modules – A Simple Example

R Shiny is a great tool to create an interactive web application. The web framework was designed to be able to build very complex apps and the more code there is, the more complicated it is to debug the application. There are some ways that can help organize your application. One way is to write functions for certain UI elements… Read More

R Shiny and DataTable (DT) Proxy Demonstration For Reactive Data Tables

In this R Shiny demonstration, we will be looking at an example where the user can manually add and remove data from a data table without rendering the entire DataTable again and again. Instead, we will be using the DataTable proxy (DT::dataTableProxy function) to replace and add data according to the user. Let’s do it! Shiny Application Set-Up First, we… Read More

From Tidyverse to Pandas and Back – An Introduction to Data Wrangling with Pyhton and R

In this tutorial, we are going to have a look at a tidytuesday data set. We are exploring college tuition with R and Python at the same time! We are going from pandas to tidyverse and from tidyverse to pandas. Both languages are really cool for data science and a combination of both languages gives you more flexibility. Let’s see… Read More

Ultimate R Resources: From Beginner to Advanced

Learning how to program in R can be quite daunting. There are so many resources out there that one might not know where to start exactly. Once you have started your journey in data science with R, however, it can be quite fun. Well… quite exciting and fun up to a certain point where it becomes harder and harder to… Read More

What Were the Most Hyped Broadway Musicals of All Time? #TidyTuesday

During this week’s #TidyTuesday challenge, I had the opportunity to explore how to place images in ggplot. To release you from your suspense about my plot, here it is: We can clearly see how far ahead Hamilton is. In fact, since its preview, there has not been any performance that has not been sold out completely! Wow! In second place… Read More

7 Tidyverse Tricks for Getting Your Data Into the Right Shape

The tidyverse is the best package in R for data cleaning and data munging in my opinion. Because it is an opinionated collection of packages, using the tidyverse becomes very intuitive after you have worked with it for some time. Knowing the ins and outs of the tidyverse is almost impossible. Therefore, I am going to share some tips and… Read More

How to Selectively Place Text in ggplots with geom_text()

When I started learning ggplot I was very impressed by how easy it was to use it. However, it took me a long time to understand the package on a deeper level. In this tutorial, we will be covering how to place text in a ggplot graphic to add more information to our plots. For this tutorial, we need to… Read More

Data Science Jobs