In this R tutorial, We’ll learn the following tips and tricks of ggplot2 bar chart Create a new R Notebook from Kaggle Dataset Clean Column names with Janitor How Make a Ggplot2 Bar Chart (Column Chart) in R Why use geom_col instead of geom_bar How to flip the coordinates of ggplot Bar charts How to reorder the Bars in Ggplot Bar Chart How to add Labels to a ggplot bar chart How to make a beautiful ggplot2 bar chart from Basic to Powerful Themes using ggthemes Video Tutorial on ggplot2 Bar Chart Themes Please Subscribe to the channel for more Data Science (with R - also Python) videos Final Code - Economist Theme state_2018 %>% select(one_of('state_ut','total_victims')) %>% arrange(desc(total_victims)) %>% head(20) %>% mutate(state_ut = fct_reorder(state_ut,total_victims)) %>% ggplot() + geom_col(aes(y = state_ut,x =total_victims), fill = 'red') + geom_label(aes(y = state_ut,x =total_victims, label = total_victims), fill = 'yellow')+ labs(title = '2018 Rape Victims in India - Top 20 states', subtitle = 'by Total Victim Count', caption = 'Data Source: Kaggle / Crimes in India') + #theme_hc(style = 'darkunica') + theme_economist() + theme(axis.
In this R tutorial, We’ll learn how to schedule an R script as a CRON Job using Github Actions. Thanks to Github Actions, You don’t need a dedicated server for this kind of automation and scheduled tasks. This example can be extended for Automated Tweets or Automated Social Media Posts, Daily Data Extraction of any sort. In this example, We’re going to use a code to extract / scrape Nifty50 (Indian Stock Exchange Index) Top Gainers Daily and store it as a csv file which can be used for Data Analytics on those stocks.
In this R Tutorial, We’ll learn how to perform a very popular Computer Vision task which is Object Detection in R with YOLO (pre-trained Models). For this we’re going to use the image.darknet package from https://github.com/bnosac. The good thing about this package is that it doesn’t require neither reticulate nor Python. It’s ported from the native C code and hence the performance is good. Video Walkthrough Please Subscribe to the channel for more Data Science (with R) videos Code #devtools::install_github("bnosac/image", subdir = "image.
RStudio’s latest 1.4 stable version has been released. While this release has got a lot of new features, there are some that I’m excited about. Visual Markdown Editor Command Palette Adding new Source Editor Column (on RStudio Panes) Python Integration - Object Viewer, Plots Video Walkthrough Please Subscribe to the channel for more Data Science (with R) videos