Publications by Dario Radečić

shiny.emptystate – How To Add an Empty State Component to R Shiny

26.04.2023

What happens when there’s no data to show to the user? This can occur in Shiny apps, where users must upload their own data. Well, one solution is to show an empty screen (an empty state). But this negatively impacts the user experience. A better approach would be to have a dedicated empty state screen, and today you’ll implement a Shiny empty ...

6723 sym R (3138 sym/7 pcs) 12 img

RStudio Package Tests – From Theory to Implementation in R and Python

18.04.2023

Let’s face it – the technical aspect of writing R and Python packages from scratch isn’t complicated. However, the challenging part lies in proper testing. The goals with package tests are to ensure the package works properly and without any bugs on the client’s hardware and that the correct dependency versions are used. To do this, we use ...

16464 sym R (2535 sym/12 pcs) 22 img

Is Your Company Giving You What You Need to Build Great R Shiny Apps?

29.03.2023

Is your R Shiny app slow, but you doubt Shiny itself is the bottleneck? This is a likely scenario, especially if you’re given a slow database with no indexes or normalization. Data retrieval and database communication in general become an issue, and it has nothing to do with R Shiny. Today you’ll learn how to build great R Shiny apps by solving...

20698 sym R (16094 sym/26 pcs) 54 img

R config: How to Manage Environment-Specific Configuration Files

27.03.2023

How many times have you encountered a file path issue when running your code on a different environment? Probably far too many. It doesn’t need to be the case anymore – The R config package is here to allow you to manage environment-specific configuration files. The best part? You’ll learn all about it today. In this article, we’ll go throu...

5573 sym R (1363 sym/6 pcs) 10 img

R renv: How to Manage Dependencies in R Projects Easily

22.03.2023

How many times has your code unexpectedly stopped working? Even better, how many times did the code work on your machine, but your coworkers couldn’t run it? Both questions share the same underlying problem – R environment. That’s where R renv comes in – a dependency management package that will ensure issues like these won’t happen ever ...

7506 sym R (1142 sym/8 pcs) 32 img

R data.validator – How to Create Automated Data Quality Reports in R and Shiny

22.03.2023

Every data science project needs a data validation step. It’s a crucial part, especially when feeding data into machine learning models. You don’t want errors or unexpected behaviors in a production environment. Data validation is a way you can check the data before it touches the model and ensures it’s not corrupted. And yes, you can automat...

7744 sym R (3577 sym/10 pcs) 16 img

R Shiny Shipping Logistics: How Shiny Provides Value to Your Business

01.02.2023

R Shiny is a go-to technology when making apps and dashboards for companies using the R programming language. Shiny helps solve problems in complex business areas with large datasets, such as agriculture and life sciences. It’s also used extensively in business workflows from supply chain management to improving the process of shipping logisti...

9684 sym R (4029 sym/5 pcs) 16 img

Shiny for Python: How to Work With MySQL and Postgres Databases

20.01.2023

Most of the real-world data is stored in databases, so knowing how to access different database systems from Shiny is a mandatory skill. With the rise of Shiny for Python, databases and their access got a whole new meaning, as Shiny developers are no longer limited to R.That being said, Shiny developers must learn how to connect to databases from...

6812 sym Python (2670 sym/6 pcs) 16 img

Imputation in R: Top 3 Ways for Imputing Missing Data

10.01.2023

Real-world data is often messy and full of missing values. As a result, data scientists spend the majority of their time cleaning and preparing the data, and have less time to focus on predictive modeling and machine learning. If there’s one thing all data preparation steps share, then it’s dealing with missing data. Today we’ll make this p...

8444 sym R (2094 sym/7 pcs) 20 img

Python Pipreqs – How to Create requirements.txt File Like a Sane Person

05.12.2022

Want to include only the libraries you use in requirements.txt? Try pipreqs, a Python module for creating leaner requirements files.Every Python project should have a requirements.txt file. It stores the information of all libraries needed for a project to run, and is essential when deploying Python projects. This is traditionally done via the pi...

4944 sym Python (478 sym/10 pcs) 18 img