Create meaningful fake tidy datasets in R using fakir [#rstats Package]

1littlecoder · Beginner ·📊 Data Analytics & Business Intelligence ·6y ago

Key Takeaways

This video teaches how to create meaningful fake tidy datasets in R using the fakir package

Full Transcript

hey welcome to one little coder in this video we are going to learn about a new our package that helps us in creating fake data set and the package name is called 4k so for Karis a package that helps you create fake data set that you could use to teach a better data science or probably you could use to write blog articles or to create tutorials much more so first of all why do we need for kit right so we have got a lot of data sets like iris empty cars which which are definitely used used use and being overused so why do we actually need for Kira's primarily because those data sets are quite you know quite irrelevant for someone who is starting with data sets today so I'm not saying that those data sets are not useful those data sets have been the product of a really hard work of a lot of people so I have got huge respect for word but at the same time when you look at the contemporary data science market a data analysis market so you need data sets that resemble probably close to somewhat industry so maybe you cannot get on exactly as same as industry data set a lot of open data sets are available but when you want to teach you don't want a lot of heavyweight assets so you want something small light that is that is quite you know resembling industry data set and that is where faqir is actually helpful because faqir has a little set of data sets that that resemble industry data set and also it follows steady principle which means you don't have to do a lot of data pre-processing before you when you learn how to do a good amount of data sense and also it has got some product missing values in both categorical and continuous variables so if you want to teach missing value imputation type of concepts also you can still use it and again the other thing is you've got some values variables which are correlated which means if you want to introduce some statistical concepts or if you want to talk about correlation or if you want to draw a scatter plot and then show them how you can fit a line so you can see you some data sets from so let's go ahead and then first install faqir you can install faqir from github which is copy this URL sorry at least the repository's name you can use remotes or you can use these tools it's up to you so I'm going to use three modes which is light install underscore github and say think are open and focus rehab while the installation is going to happen so for Kira's a product of a group called a think hard which is a it is an our development house based out of France they've got a lot of open source contribution for our and this particular package has been developed by Colin fair and Sebastian so a huge shout out to Colin fee and Sebastian for making this package available for us so because this is a new development group from France they have also made some datasets in fakira that is in both French and English there are some datasets that are only in English the sorry French and then there are some data sets that are available in both French and English so what is it asking it's asking do we need to update so given that time so we will say we don't want to update anything just install this package you can see what kind of data sets are available in faqir want a support ticket so if you are familiar with an enterprise business or a consumer business any time you get in touch with your customer support service so that entry gets gets into something called customer ticket right so there are a lot of companies that does this kind of stuff so that this customer ticket you have got what is the customer what kind of problem they are faced and all those things so the other thing that they have got this website visit which is to emulate something like a Google officer term or if you have got a website on it may not be as compliments comprehensive as Google Analytics or Adobe and what it is try to do indicator like the pages that you have got home about blog and contact page and what kind of visits they've got for a given time stone and then they have got some French dataset which is about transport related and then you can actually see what kind of things that they have done with rate asset so they have got quite a comprehensive documentation I would recommend all of you to check it out and then I would also link this in the description page on we can see for Kyra's main sucks fully installed let's say library you okay and you lower the dataset the related something in order so you can see what kind of functions are there for K base clients so you can see the documentation of the the suggestion that pops up that whether it is available only for English or French so this this dataset based client is available for both English and French so Andres is available only for French so on rich people is available only for French and ticket land is available for both English and French or fake visit is also available for both English and French fake wizard Oh some or both English and French people think they have got an issue with the description cool so let's start with fake wizard fake research I will just save assets okay okay listen so now we have created a dataset so let's see what are the parameters that are on available in this fake message so you can see there is an argument that is from date to date and then the seed value which is to say if you want to reproduce this thing you don't want to you know like something random right so you want it to be reproducible so looks like when you look at the data so they've got a one-year or data and so there is a timestamp which is a time variable it's glimpse it okay I've got a load laughter really tidy wash I'll just do it here library tidy verse okay and what do you want to do we want to do glimpse of this it's okay that's that's a type of for me Glenn you can see first one is date second one is a double double then everything else is integer so you can also see there are some initial let's let's count how many missing values we have got let's do a summary the search okay so put a lot of missing values so there the thing is let's say now you want to teach a simple media process to someone so the first thing that you're going to do is you're going to fix missing values right so you can probably say okay visits filled the sets pipe and order what are you going to get you're going to get filled off um everything okay don't you do that thing let's do some somebody who sits fill so you you don't see any missing values here I'd say you've got just one but he wasn't missing while you is filled so now we can probably look at the filled dataset and then we can try to understand okay I think it is miss a filled with and download direction so you can say direction you will not get into that high it's probably not required for this thing so the point is that you have got a dataset and you have got a bunch of pages so let's let's um if you want to teach someone how to visualize something you can say okay yes it's filled plus giome line of AES what is your first value of Israel that is time stamp and then maybe your blog contact so let's say block cool so no no you have successfully made a plot that reduces fuck-you so the point again is from it's just a fake gate acid but you can see that it slightly resembles like a proper time series plot rather than you know anything that is very randomly that you generate from a normal distribution so let's have a look at to the other data set let's say ticket fork a fake ticket client okay so you need to give volume volume let's say in this case we want 100 a thousand it's a thousand okay let's also have a look at what kind of parameters it has got so it has got a volume which is to say the number of tickets you want and the number of claims or other values that you can look at so now let's have a look at this dataset it says that you have got a reference number of clients and you have got the first name and last name of the person and what is their job what is their age okay and you have got ID'd upon let's let's just do a quick summary okay I think you might have noticed that I just simply use pipe operator from the data so that it does generate so you don't have any problem with that so you've got bunch of missing values which we are not going to deal with this moment so if word priority timestamp entry Department some categorical and so there's a mix of categorical and the continuous variable right so that's that's good to know if you if you probably want to do some kind of insight from this thing probably you can start with let us say a ticket I want to look at the first name I want to look at the last name how many times it has appeared right let's its do a ticket count last last name how was it last last yeah it says last and range descending okay so these are the last names AKO call Tom bunch of yes so if you want to make a plot yeah yeah oh sorry sure Jim Melissa Jim bar sorry yes of okay I'll just take the powerhead of 10 or 20 and last comma n okay your score in this case that's an order okay I'll just do in X is equal to Y is equal to the last you have caught a plot that looks designed okay so this is idea the idea of this video is to introduce you to a that you can use for care the data sets from you to teach data data signs especially if you're going to teach on it handling data manipulation data visualization using R and probably you are part of the sky diverse universe it's it's it's it's a good thing to use some something like rather than iris so I hope this video was so useful and if you have any comments please let me know and if you have got any suggestions also please let me know you can also mention me on Twitter if you have any comments on this video so thank you for watching see you in the next video

Original Description

fakir is an R package that helps you create fake meaningful datasets for teaching data science, data analysis and data visualization. This video introduces you to fakir and how you can use to perform some data operations fakir github - https://github.com/ThinkR-open/fakir Please share your Feedback on Twitter - https://twitter.com/1littlecoder
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from 1littlecoder · 1littlecoder · 8 of 60

1 How to create your Free Data Science Blog on Github with Fastpages from Fastai
How to create your Free Data Science Blog on Github with Fastpages from Fastai
1littlecoder
2 Making Interactive Matplotlib Plots for Data Science Visualizations on Jupyter (Python)
Making Interactive Matplotlib Plots for Data Science Visualizations on Jupyter (Python)
1littlecoder
3 Create your first Data Science Web App using R Shiny
Create your first Data Science Web App using R Shiny
1littlecoder
4 How to create a Reproducible Example in R using reprex
How to create a Reproducible Example in R using reprex
1littlecoder
5 No Code Visualization using esquisse with Tableau-like Drag and Drop GUI in R
No Code Visualization using esquisse with Tableau-like Drag and Drop GUI in R
1littlecoder
6 Scrape HTML Table using rvest and Process them for insights using tidyverse in R
Scrape HTML Table using rvest and Process them for insights using tidyverse in R
1littlecoder
7 Google Teachable Machine Learning Build No Code AI solution
Google Teachable Machine Learning Build No Code AI solution
1littlecoder
Create meaningful fake tidy datasets in R using fakir [#rstats Package]
Create meaningful fake tidy datasets in R using fakir [#rstats Package]
1littlecoder
9 How to enable using R Programming with Visual Studio VS Code
How to enable using R Programming with Visual Studio VS Code
1littlecoder
10 Python, Community, Books - with Abhiram R - Bangpypers Co-organizers | 1littlecoder podcast
Python, Community, Books - with Abhiram R - Bangpypers Co-organizers | 1littlecoder podcast
1littlecoder
11 Growing a Tech Community across India - Anubha Maneshwar, Founder Girlscript | 1littlecoder Podcast
Growing a Tech Community across India - Anubha Maneshwar, Founder Girlscript | 1littlecoder Podcast
1littlecoder
12 Intro to Google Colab - How to use Colab
Intro to Google Colab - How to use Colab
1littlecoder
13 Intro to Plotly Express - Complex Interactive Charts with One-Line of Python Code
Intro to Plotly Express - Complex Interactive Charts with One-Line of Python Code
1littlecoder
14 Indic NLP Python Toolkit Open Source Development - iNLTK Creator Gaurav Arora | 1littlecoder Podcast
Indic NLP Python Toolkit Open Source Development - iNLTK Creator Gaurav Arora | 1littlecoder Podcast
1littlecoder
15 Do you want a career in Data Science - Tamil Webinar
Do you want a career in Data Science - Tamil Webinar
1littlecoder
16 Android Smartphone Analysis in R [Live Coding Screencast]
Android Smartphone Analysis in R [Live Coding Screencast]
1littlecoder
17 Programmatically create Images, Memes, Watermarks using Python with imgmaker
Programmatically create Images, Memes, Watermarks using Python with imgmaker
1littlecoder
18 Kaggle Walkthrough to get you started with Data Science - Webinar
Kaggle Walkthrough to get you started with Data Science - Webinar
1littlecoder
19 Community, Corporate Job, Coding - Gnana Lakshmi T C aka Gyan, WomenWhoCode Leadership Fellow
Community, Corporate Job, Coding - Gnana Lakshmi T C aka Gyan, WomenWhoCode Leadership Fellow
1littlecoder
20 Easy ggplot2 Theme Customization with {ggeasy} | Data Visualization in R
Easy ggplot2 Theme Customization with {ggeasy} | Data Visualization in R
1littlecoder
21 Excel to R - Pivot + Bar Chart in Excel  & R using tidyverse [Live Coding]
Excel to R - Pivot + Bar Chart in Excel & R using tidyverse [Live Coding]
1littlecoder
22 Excel to R #2 - VLOOKUP in Excel to LEFT_JOIN, MERGE in R
Excel to R #2 - VLOOKUP in Excel to LEFT_JOIN, MERGE in R
1littlecoder
23 5 websites to get Free Real-World Datasets for Data Science/ML Projects
5 websites to get Free Real-World Datasets for Data Science/ML Projects
1littlecoder
24 Excel to R #3 - APPROXIMATE VLOOKUP in Excel to FUZZY LEFT_JOIN in R
Excel to R #3 - APPROXIMATE VLOOKUP in Excel to FUZZY LEFT_JOIN in R
1littlecoder
25 Correlation-alternative PPS (Predictive Power Score) Python Package Demo
Correlation-alternative PPS (Predictive Power Score) Python Package Demo
1littlecoder
26 Automated Website Screenshots in R using {webshot}
Automated Website Screenshots in R using {webshot}
1littlecoder
27 Installing Custom RStudio Theme (Synthwave85)
Installing Custom RStudio Theme (Synthwave85)
1littlecoder
28 Analyse Google Trends Search Data in R using {gtrendsR}
Analyse Google Trends Search Data in R using {gtrendsR}
1littlecoder
29 3 Tips to ask question on Stack Overflow the right way to get answers
3 Tips to ask question on Stack Overflow the right way to get answers
1littlecoder
30 Learn Data Science with R - Mini Projects - Web Scraping Zomato
Learn Data Science with R - Mini Projects - Web Scraping Zomato
1littlecoder
31 Easily make Dumbbell Chart using {ggcharts} | Data Visualization in R
Easily make Dumbbell Chart using {ggcharts} | Data Visualization in R
1littlecoder
32 GET Hackernews Front Page Results using REST API in R
GET Hackernews Front Page Results using REST API in R
1littlecoder
33 Quickly deploy ML WebApps from Google Colab using ngrok
Quickly deploy ML WebApps from Google Colab using ngrok
1littlecoder
34 Use Jupyter Notebooks within VSCode (Visual Studio Code) in 2020
Use Jupyter Notebooks within VSCode (Visual Studio Code) in 2020
1littlecoder
35 Plotly Interactive Plots as Pandas Plotting Backend df.plot()
Plotly Interactive Plots as Pandas Plotting Backend df.plot()
1littlecoder
36 Stack Overflow Developer Survey 2020 Highlights for New Programmers
Stack Overflow Developer Survey 2020 Highlights for New Programmers
1littlecoder
37 Matplotlib Animation Charts in Python using Celluloid
Matplotlib Animation Charts in Python using Celluloid
1littlecoder
38 Coding, Postwoman, Passion Project Book - Liyas Thomas Open Source Developer - 1littlecoder podcast
Coding, Postwoman, Passion Project Book - Liyas Thomas Open Source Developer - 1littlecoder podcast
1littlecoder
39 Aspiring Data Scientist, Tips on How to learn Business Domain Knowledge
Aspiring Data Scientist, Tips on How to learn Business Domain Knowledge
1littlecoder
40 Bokeh Interactive Charts as Pandas Plotting Backend df.plot_bokeh()
Bokeh Interactive Charts as Pandas Plotting Backend df.plot_bokeh()
1littlecoder
41 Easy Fast Python Pandas Summary with Sidetable | Pandas Tips & Tricks
Easy Fast Python Pandas Summary with Sidetable | Pandas Tips & Tricks
1littlecoder
42 Inception, Content Ideas, Consistency - Srivatsan Srinivasan AIEngineering YouTube Content Creator
Inception, Content Ideas, Consistency - Srivatsan Srinivasan AIEngineering YouTube Content Creator
1littlecoder
43 ggplot2 Text Customization with ggtext | Data Visualization in R
ggplot2 Text Customization with ggtext | Data Visualization in R
1littlecoder
44 Penguins Dataset Overview - iris alternative | EDA Data Visualization in R
Penguins Dataset Overview - iris alternative | EDA Data Visualization in R
1littlecoder
45 YouTube Growth Tips, Content Creation - Bhavesh Bhatt, YouTuber (Data Science & Machine Learning) #7
YouTube Growth Tips, Content Creation - Bhavesh Bhatt, YouTuber (Data Science & Machine Learning) #7
1littlecoder
46 Matplotlib Animated Bar Chart Race in Python | Data Visualization
Matplotlib Animated Bar Chart Race in Python | Data Visualization
1littlecoder
47 Simple Python GUI Development using {guietta}
Simple Python GUI Development using {guietta}
1littlecoder
48 #8 Niche, Growth, Monetization - David Langer - YouTuber Dave on Data
#8 Niche, Growth, Monetization - David Langer - YouTuber Dave on Data
1littlecoder
49 Simple Fast 3-step Python OCR using Deep Learning 40+ Languages
Simple Fast 3-step Python OCR using Deep Learning 40+ Languages
1littlecoder
50 Github New Feature Profile Summary/Mini-Resume - Profile Views
Github New Feature Profile Summary/Mini-Resume - Profile Views
1littlecoder
51 Otto ML Assistant, GPT-3 on Philosophers, Nvidia-ARM - 3 ML Tech News
Otto ML Assistant, GPT-3 on Philosophers, Nvidia-ARM - 3 ML Tech News
1littlecoder
52 What is OpenAI GPT-3 - Hype, Examples, Worries
What is OpenAI GPT-3 - Hype, Examples, Worries
1littlecoder
53 Julia 1.5, Datamuse API, Live HDR+ Pixel 4a - Machine Learning Tech News
Julia 1.5, Datamuse API, Live HDR+ Pixel 4a - Machine Learning Tech News
1littlecoder
54 Self-driving Car Engineer sentenced, arXiv Dataset, AI/ML Startup Idea - Machine Learning Tech News
Self-driving Car Engineer sentenced, arXiv Dataset, AI/ML Startup Idea - Machine Learning Tech News
1littlecoder
55 GPT-3 Explorer, Ciphey (Automated Decryption), Py-Sudoku - ML Tech News
GPT-3 Explorer, Ciphey (Automated Decryption), Py-Sudoku - ML Tech News
1littlecoder
56 How to use Advanced Google Search to extract Email Ids from Linkedin
How to use Advanced Google Search to extract Email Ids from Linkedin
1littlecoder
57 Cartoonizer Toon-IT (AI Web App), GPT-3 Advice, Android Earthquake Detection - ML Tech News
Cartoonizer Toon-IT (AI Web App), GPT-3 Advice, Android Earthquake Detection - ML Tech News
1littlecoder
58 Flow - R Package to visualize code logic, functions as a Flow Diagram
Flow - R Package to visualize code logic, functions as a Flow Diagram
1littlecoder
59 Build GPT-3-like Language Model on Google Colab with minGPT [PyTorch]
Build GPT-3-like Language Model on Google Colab with minGPT [PyTorch]
1littlecoder
60 Create a Pencil Sketch Portrait with Python OpenCV
Create a Pencil Sketch Portrait with Python OpenCV
1littlecoder

Related Reads

📰
Scraping Indian government open data in 2026: what actually works
Learn to scrape Indian government open data for projects like Village Finder, a mapping project tracking 78,000 Indian villages
Dev.to · Manideep Chittineni
📰
2026 Enterprise Data Recovery: What IT Teams Should Look For
Learn what IT teams should look for in 2026 enterprise data recovery to minimize losses and ensure business continuity
Medium · AI
📰
I Was Mad About the Jaylen Brown Trade. So I Simulated 10,000 Seasons to See If I Should Be.
A Celtics fan uses simulation to analyze the Jaylen Brown trade, applying data science to understand its potential impact
Medium · Data Science
📰
Mosaic Plots in Data Visualization: Turning Complex Relationships into Clear Business Insights
Learn to create mosaic plots for clear business insights from complex relationships
Medium · Data Science
Up next
How The Super Bowl Uses Machine Learning 🏈 #ai #nfl #superbowl #nextgen #machinelearning
Ascent
Watch →