Logo

The Data Daily

ChatGPT: Made this Shiny App in 10 Minutes | R-bloggers

ChatGPT: Made this Shiny App in 10 Minutes | R-bloggers

What if you could your coding productivity? Well you can with ChatGPT.

One of the areas I’m most excited about is speeding up the development process of web apps. And in this tutorial I’m going to show you how I built an app in 10 minutes with ChatGPT.

Today I’m going to show you how to build a with ChatGPT Here’s what you’re learning today:

How It Will Help You: Whether you are new to data science or are an expert, ChatGPT is changing the game. There’s a ton of hype. But how can ChatGPT actually help you become a better data scientist and help you stand out in your career? I’ll show you inside my free chatgpt for data scientists workshop.

How To Join: Register Here.

This article is part of R-Tips Weekly, a weekly video tutorial that shows you step-by-step how to do common R coding tasks. Pretty cool, right?

Here are the links to get set up. ????

I have a companion video tutorial that gives you the bonus “progressively built” 4 app versions in this video (plus walks you through how to use them). And, I’m finding that a lot of my students prefer the dialogue that goes along with coding. So check out this video to see me running the code in this tutorial. ????

Listen, is a game changer. No question about it.

Am I faster when using for “AI assisted programming”? Yes.

Will a beginner data scientist take my job? Heck no.

Someone that’s faster at getting results than me.

I’m talking other experts that are learning how to use to their advantage.

Well let’s start calming those nerves… Good ole’ Matt Dancho is here to the rescue.

Today, I’m going to introduce you to by making a app.

Before we dive in…

You’re going to point chatgpt in the right direction. And this little cheat sheet gives you the specific packages that you can ask ChatGPT to use.

It complements by giving you an edge over those that don’t have it. In fact, it’s my secret weapon…

Even I forget which R packages to use from time to time. And this cheat sheet saves me so much time. Instead of googling to filter through 20,000 R packages to find a needle in a haystack. I keep my cheat sheet handy so I know which to use and when to use them. Seriously. This cheat sheet is my bible.

Once you download it, head over to page 3 and you’ll see several R packages I use frequently just for Data Analysis.

Which is important when you want to work in these fields:

So steal my cheat sheet. It will save you a ton of time.

Time to build a app with AI assistance from . Let’s have some fun!

First, open up an Rstudio Session and I have them stacked sideways here. (Don’t worry if you don’t have a shiny app yet. We’ll create it in this tutorial)

I figured this would be easy to build because it requires no data (csv files), and I can test out capabilities quickly.

Then head over to Rstudio and run the code. We get a very basic app that calculates monthly expenses.

This is an iterative process where I now request additions and changes to functionality.

First, I use the key words: Update the app.

And then I request what updates I want to have the app changed.

Once the updated code is generated by , I copy and test it out inside of Rstudio.

Next, I progressively request updates and changes to the app as I see things I’d like changed. Each time I run the code in Rstudio to see what impact the changes have.

First, I update the app to allow the user to add multiple months.

Next, I request the visualization to be changed to a bar plot.

Then I ask for the columns to be stacked on top of each other.

And the final shiny app is produced:

Want all the code I just showed you? Steal my app library.

The code for the 4 apps are inside of R-Tip .

You learned how to use to make a shiny app in 10 minutes. Great work! But, there’s a lot more to becoming a data scientist.

If you’d like to become a Business Data Scientist (and have an awesome career, improve your quality of life, enjoy your job, and all the fun that comes along), then I can help with that.

YOU know the feeling. Being unhappy with your current job.

And you’re praying that the next data science interview will go better than the last 12…

… But you know it won’t. Not unless you take control of your career.

I’ve helped 5,897+ students learn data science for business from an elite business consultant’s perspective.

I’ve worked with Fortune 500 companies like S&P Global, Apple, MRM McCann, and more.

And I built a training program that gets my students life-changing data science careers (don’t believe me? see my testimonials here):

Here’s the system that has gotten aspiring data scientists, career transitioners, and life long learners data science jobs and promotions…

Join My 5-Course R-Track Program (And Become The Data Scientist You Were Meant To Be…)

P.S. – Samantha landed her NEW Data Science R Developer job at CVS Health (Fortune 500). This could be you.

Images Powered by Shutterstock