
R programming fuels data science as the lingua franca, with open source and cross-platform use. Start with ABC programming basics and advance to data analysis and visualization.
Explore the core data types in R, including logical, numeric, integer, complex, and character, and learn about memory differences for integer versus numeric, vectors, lists, matrices, data frames, and arrays.
Explore how to identify variable types in R using class and type functions, distinguishing character, numeric, double, integer, and logical values through practical examples.
Explore how vectors store multiple elements, using brackets and indexing to access items, and learn to create vectors with examples like players and goalscorers.
Create and manipulate vectors in R by combining numbers, characters, and booleans; observe type coercion to character, vector recycling, and element-wise arithmetic with length warnings.
Explore factors in R to represent discrete values in vectors, manage levels and their order, and obtain summary statistics such as min, max, median, mean, and first and third quintiles.
Data frames organize mixed data types into a single table, and this lecture shows building a data frame from vectors and accessing rows or columns by indices.
Create data frames from vectors to build a multi-column, row-and-column data structure that stores numeric, character, and boolean types, explore with head, tail, str, and summary.
Explore one-dimensional data structures and lists, showing how a list can combine vectors, data frames, and metrics into a single element, with examples like players and goals in R Studio.
Explore creating and manipulating lists in R, combining diverse data structures like data frames, vectors, and named elements, and converting lists to vectors for basic operations.
Explore constructs in R, including conditions, loops, and functions, and apply vectors, factors, and data frames to a credit card eligibility problem using a bank marketing dataset.
Explore relational and logical operators in vector comparisons, learn recycling rules, and apply not, and, or, and not equal to evaluate conditions in R.
Learn how conditional statements work with if-else logic, using a practical example of total marks to apply conditions such as greater than 500 or less than 250, including else handling.
Explore a bank file for credit card marketing, inspect demographic and contact data, and learn to preprocess with R: view structure, convert strings to factors, and create focused subsets.
Learn how loops automate repetitive data tasks with for loops that iterate over records, apply conditions, and filter a bank dataset, including not equal to and handling non-numeric values.
Convert string columns to factors in an R data frame by looping over selected columns. Turn columns 5, 6, 7, 8, and 11 into factors, illustrating education and medical education as factor variables.
Learn how functions reduce workload and boost efficiency by creating your own function. Build an age-based license function that returns yes for ages over 18 and demonstrate parameters and calls.
Learn built-in data analysis functions, including median age and mean salary, and manage missing values by replacing any with mean or median; apply credit card data analysis to customers.
Explore how data visualization communicates insights quickly using scatter plots, histograms, line charts, and pie charts, and learn how color, form, and positioning affect interpretation.
Master data visualization with R base plots using the iris dataset. Create scatterplots with plot(), map x and y, and color by species to reveal relationships.
Learn to build ggplot visuals by selecting a dataset, mapping x and y aesthetics, and using geom_point for scatterplots with the diamond dataset. Color by clarity to highlight attributes.
Install and load ggplot2 packages, explore data visualization in R, and build scatterplots and histograms using aes and geom_point while treating cylinder as a factor to reveal mpg trends.
Learn to create scatter plots with ggplot, mapping color, shape, and size to variables; color by cylinder as a factor and explore how mpg relates to other attributes.
Annotate scatter plots in ggplot by displaying values on points with text labels, such as displacement and hp, using the label aesthetic. Explore how this with other geoms reveals variability.
Explore visualizing large datasets with ggplot in R by plotting price versus carat for diamonds, addressing overplotting with geom_smooth and alpha transparency, and using clarity-based color to reveal non-linear trends.
Learn to plot bar charts with ggplot by converting a numeric cylinder variable to a factor, mapping fill to auto or manual transmission, and using position to compare proportions.
Explore dodge plots to compare proportions across categories by using factors, differentiating automated and manual groups, and visualizing side-by-side bars with filtering options.
Analyze a U.S. economic time series dataset by plotting unemployment rate as a percent of population and saving rate against date, using line, step, and color cues to reveal trends.
Analyze the supply-demand gap in ride-hailing by examining cancellations and car availability during peak hours, identify the root cause, and present actionable recommendations to improve demand-supply to the CEO.
Analyze the Uber datasets by inspecting six columns, including request ID, airport point, city, and driver ID, and review trip status values such as cancel, no cards available, and complete.
Create a time slot allocator function to map a 24-hour day into slots, then visualize trip status with a basic plot, refining axes, titles, and labels for clarity.
Explore data visualisations across time slots using bar charts to compare pickup points and statuses, compute median journey times, and identify peak demand and supply gaps.
SQL is the essential second language for data science, enabling you to wrangle massive data from social platforms and extract meaningful insights.
Explore relational databases from basics to advanced SQL, using Oracle and MySQL, with real-world company and market data, SQL programming, visualization, and Python integration.
Explore how relational database management systems organize data on servers or devices to provide a consistent view, and how a bank example retrieves customer statements by querying across the database.
Explore the SQL concept through practical data retrieval from a database server, using commands to fetch and display customer data, and learn about data manipulation language (DML) in SQL.
Installation of MYSQL database
Refer to the next session.
Installation of MYSQL Workbench for writing SQL queries.
Refer to the next session.
For oracle refer to the video and the following:
Installation of Oracle ( XE Edition )
Oracle has provided the community edition : Express Edition ( XE)
Min system requirement
1) Microsoft Windows 7
2) RAM 512 MB
3) Disk space 2 GB
Reference docsfor installation Guide https://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#XEINW119
Download Link for XE edition
https://www.oracle.com/database/technologies/xe-downloads.html
Installation of SQL Developer Client
SQL developer is the freeware software for writing SQL from simplest to the most complex.
Other developer client which are used in Industries are :
Toad , DB Visualiser , SQL Workbench , PLSQL Developer
Reference link for download SQL developer
https://www.oracle.com/tools/downloads/sqldev-v192-downloads.html
Explore a company schema by linking employee, department, location, and project tables through primary and foreign keys; learn how records relate and are uploaded into a database.
Learn to install the MySQL database on Windows, including downloading the MySQL community server, configuring the server, router, and workbench, creating a root password, and verifying connection.
Learn to use MySQL Workbench by opening a local instance via localhost and port, exploring the Management Navigator, and viewing schemas, tables, columns, indexes, procedures, and functions.
The commands are broadly categorised as follows:
Data Definition Language (DDL)
Data Manipulation Language (DML)
As the name suggests, the DDL is used to create a new schema as well as to modify the existing schema. The typical commands in DDL are — CREATE, ALTER and DROP. As a data analyst, the majority of your work will be focused on insight generation, and you will be working with DML commands, specifically the SELECT command.
In this lecture, you learned the basic constructs in the SELECT query. The session will also cover the creation of schema for the database that will be used throughout the session. You will specifically learn the following:
SELECT clause
FROM Clause
WHERE Clause
Basic Sorting and Filtering in SQL
Create and populate a company database in MySQL Workbench by creating a default schema, building tables with foreign keys, inserting records, and committing changes to verify results.
Learn to create a company database in Oracle by building tables, inserting records, and running select queries from the provided script.
Practice writing sql from basic to advanced queries and format commands clearly. Select all columns from the employee table, filter by sex and salary, and retrieve dependent details by ssn.
Pattern Matching using LIKE function
Pattern matching is an important concept in the string or text-based processing. In SQL, certain characters are reserved as wildcards that can match any number of preceding or trailing characters
Sorting
In SQL, sorting is done using the clauses 'asc' and 'desc' for ascending and descending order respectively. You will also learn to use the IN, NOT IN and IS NULL clauses.
In this lecture, you also learned to use the following clauses:
IN
NOT IN
IS NULL
Asc
desc
Summary of Learning Till now
Till now you learn the basics of Database and SQL. Database was invented to store the data in a more consistent manner and to access with ease. Such databases are called as RDBMS.
You then learnt that in an RDBMS, the data is organised in tables inside a database and SQL is the language to access and manipulate data in an RDBMS. There are two major categories of SQL commands:
Data Definition Language i.e. DDL
Data Manipulation Language i.e. DML
The DDL commands are typically used to change the structure of schema by creating new tables or adding new columns in existing tables or dropping tables etc. Such activities are typically done by DBA .
As a data analyst you will be frequently using the DML commands.
In this session you learned the basics of SQL , select commands, where command, filter conditions and order by clause.
In the next session you are going to learn aggregate functions , and advance SQL queries which you will be using more frequently in your day to day projects.
Introduction to advance SQL
Previously, you learnt the basics of DBMS, RDBMS, and the data retrieval language, SQL. You now know that a database is a collection of related information, and as such, the data is generally arranged using the relational model, i.e. in rows and columns.
The relational model forms the base of RDBMSs. In RDBMS, the data is organised using various tables, which are made up of a number of rows and columns. The columns necessarily represent the attributes associated with the data. These attributes are also known as fields. A database can have multiple attributes. When a particular entity is referred to using all such attributes, we get a record. The record is necessarily a row in the table.
A table can have thousands of records. If you wish to identify a particular record from this collection, you would need some field which can uniquely identify the record. This unique identification attribute is known as the ‘Primary Key’. Further, you also learnt about connecting tables with each other. The concept of ‘Foreign Key’ is used to create relationships between tables. Further, you were also introduced to referential integrity, which helps enforce data consistency within the database.
You now know two types of commands, namely:
Data Definition Language
Data Manipulation Language
The Data Definition Language (DDL) is used to create and modify the schema of the database. Commands like CREATE, ALTER and DROP are part of this language.
As a data analyst, you would always be actively involved in data retrieval activities. Here, the Data Manipulation Language (DML) commands would come in handy, e.g. the DML command SELECT, its purpose, various clauses and filtering operations.
We will cover :
Learning the following technique is the integral part of Data Analyst ; and we will cover in the following sessions
Order by clause
Group by clause
Grouped aggregations
Having clause
Joins
Nested and subqueries
As a data analyst, you would frequently prepare reports which present an overall picture of the data in hand. This task usually includes calculating sums, averages, finding highest and lowest, counting the qualifying records, etc.
In other words, you will often need to find aggregate values of certain variables like the average age, total salary of employees, the number of males or females etc. You know how to do all these things in R.
Wondering if you can perform the same operations using SQL? Of-course you can. SQL provides various built-in functions for these things. The functions used to generate collected reports are known as ‘aggregate functions’.
Many times as an analyst, you would have to generate reports related to specific departments. In such scenarios, you would collect information on departments, products, assembly lines, vendors, etc. SQL provides a special clause called ‘Group by’ for collecting facts about certain categories. In this lecture, we talked about the group by clause in detail.
In this lecture, you learnt how to use the group by clause. To summarise, you use group by when you need to find aggregate values of a column C1 'grouped by' a certain column C2. The general structure of the query is:
select column_to_be_grouped_by, f(col_to_be_aggregated) from table where some_col = x group by column_to_be_grouped_by;
Use the group by clause to count male employees by department after filtering male records. Explore aggregate functions—average, minimum, maximum—on projects and counting invoices by year.
Suppose your manager asks you to count all the employees whose salary is more than the average salary in that particular department. Now, intuitively, you know that two aggregate functions would be used here — count() and avg(). You decide to apply the where condition on the average salary of the department, but to your surprise, the query fails. In fact, you should try writing this query before moving ahead.
How do you generate the answer? Is it even possible to get answers to such queries in SQL? In this lecture, you learned the concept of ‘Having Clause’, which can be used as a filtering condition on the aggregated output.
The having clause is typically used when you have to apply a filter condition on an 'aggregated value'. This is because the 'where' clause is applied before the aggregation takes place, and thus it is not useful when you want to apply a filter on an aggregated value.
In other words, the having clause is equivalent to a where clause after the group by has been executed but before the select part is executed.
This is important to understand to avoid getting confused between the 'having' and 'where' clauses. For example, if you want to display the list of all employees having a salary >= 30,000, you can use the where clause since there is no aggregation happening in this query. But if you want to display the list of all employees having a salary <= the average salary, where avg() is the aggregation function, you'll have to use the having clause.
*Lifetime access to course materials . Udemy offers a 30-day refund guarantee for all courses*
*Taught by instructor with 15+ years of Data Science and Big Data Experience*
The course is packed with real life projects examples and has all the contents to make you Data Literate.
Get Transformed from Beginner to Expert .
Become expert in SQL, Excel and R programming.
Start using SQL queries in Oracle , MySQL and apply learning in any kind of database
Start doing the extrapolatory data analysis ( EDA) on any kind of data and start making the meaningful business decisions.
Start writing simple to the most advanced SQL queries.
Integrate R and Python with Database and execute SQL command on them for data analysis and Visualizations.
Start making visualizations charts - bar chart , box plots which will give the meaningful insights
Learn the art of Data Analysis , Visualizations for Data Science Projects
Learn to play with SQL on R and Python Console.
Integrate RDBMS database with R and Python
Create own database in your laptop/Desktop - Oracle and MySQL
Import and export data from and to external files.
Real world Case Studies Include the analysis from the following datasets
1. Bank Marketing datasets ( R )
2. Identify which customers are eligible for credit card issuance ( R)
3. Root Cause Analysis of Uber Demand Supply Gap ( R)
4. Investment Case Studies: To identify the top 3 countries and investment type to help the Asset Management Company to understand the global trends ( EXCEL)
5. Acquisition Analytics on the Telemarketing datasets : Find out which customers are most likely to buy future bank products using tele-channel. ( EXCEL) )
6. Market fact data.( SQL)