Image of Data and Stringr logo

Data Cleaning with R using 'PDFtools' and 'stringr'

SBI Submits all the data to ECI and ECI publish it on Thursday 21 Mar 2024, 6:32 PM Links of 2 files are provided here: Disclosure of Electoral Bonds Details of Electoral Bonds submitted by SBI on 21st March 2024 (EB_Redemption_Details) Details of Electoral Bonds submitted by SBI on 21st March 2024 (EB_Purchase_Details) To know the background of the case read this: SBI submits all electoral bond details, including unique numbers, to ECI...

March 25, 2024 Â· 9 min Â· Dr. Ankit Deshmukh

How to create a pretty facet-boxplot with custom fonts

How to make a better boxplot with custom fonts, let’s explore this in this post, it can be used for the standard template for boxplot with facet and user defined fonts. Required R libraries: if(!require(tidyverse)){install.packages("tidyverse");library(tidyverse)} # for ggplot2 function if(!require(gapminder)){install.packages("gapminder");library(gapminder)} # for sample data if(!require(showtext)){install.packages("showtext");library(showtext)} # to import fonts Add fonts in R session font_add_google("Karla", "Karla") # adding local font font_add(family = "Helvetica", regular = "C:/Windows/Fonts/Helvetica 400.ttf") # Adding from Google fonts font_add_google("Roboto Slab", "Roboto Slab") # adding font from the web/google font font_families() ## [1] "sans" "serif" "mono" "wqy-microhei" "Karla" ## [6] "Helvetica" "Roboto Slab" Define theme for Boxplot and fonts themeBox <- function(base_family = "sans", exFont, ....

January 21, 2022 Â· 2 min Â· Dr. Ankit Deshmukh