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

My Path to My First Full-Time Data Science Job and Some Advice

In December 2019, I finished my Bachelors of Science in Statistics. I was happy that I am done with school for now but at the same time, I knew that the real challenge, securing a job, just began. In this blog post, I will be sharing my experience of how I got my first data science job after my undergraduate… Read More

Doing Row-wise Operations the Column-wise Way With tidyr pivot_longer

Row-wise operation always feel a bit strange and awkward to me. At the same time they are really fascinating as well because we mostly deal with column-wise operations. In this blog post, we will be going through a #tidytuesday data set that is about plastic and we will be doing row-wise operations the column-wise way with pivot_longer(). What we’ll be… Read More

Custom Message Handler in R Shiny – Resembling insertUI & removeUI

In April this year, I will have used R Shiny for a year. I am coming from a statistics background and the first programming language I learned was R and then Python. I am using R Shiny almost every week at work and I am amazed by how powerful it can be with no web development knowledge. Since I started,… Read More

Persistent Data Storage With a MySQL Database in R Shiny – An Example App

Last tutorial, we built a Shiny application where the user can add, delete, and edit specific row. Today we want to integrate a remote MySQL database for persistent data storage. When the user changes the anything of the table, the results are send to the MySQL database and will be loaded at the next session again. If you want to… Read More

Predicting Housing Prices with Natural Language Processing NLP and Tidymodels

In this tutorial, we will be predicting housing prices based on their descriptions. We will be using natural language processing, NLP, to build a machine learning model. We will be using bag of words with column vectors of ones and zeros. If you want to reproduce the analysis or check out the code, then you can find it on my… Read More

Creating Beautiful and Flexible Summary Statistics Tables in R With gtsummary

gtsummary is a great package for doing summary statistics tables in R. The package has a lot of functionality and I like the flexibility of the package. Doing summary statistics tables with this package is very easy and I like this package almost as much as the arsenal package. Almost as much because it is not as mature yet but… Read More

Adding Action Buttons in Rows of DT Data Table in R Shiny

In this tutorial, we will be showing how to add action buttons to a DT data table in an R Shiny application. We will also be showing how to delete rows in a DT data table one by one in R Shiny, how to edit rows and how to add rows. We do all that without re-rendering the entire table…. Read More

Dynamic Tabs, insertTab, and removeTab For More efficient R Shiny Applications

In the last tutorial, we created an application where we made dynamic tabs based on what checkboxes were selected by the user. The link to the application is here and the link to the last post here. A big disadvantage from the last application was that the application was re-rendering the tabs every time the input value changed. A better… Read More

Data Science Jobs