Skip to content
TREND ANALYSIS OF I4GDATACAMPERS' ACTIVITIES; A TEACHING MANUAL
Analysis of I4GDataCampers Activities using R by Sunday Benjamin
Analysing this Dataset
- Create a suitable chart to visualize the trends in this dataset
library(ggplot2);library(tidyverse)Hidden output
install.packages("corrplot")
library(corrplot)Hidden output
Let's have a look at the data
data_test_1_sheet_1 <- read.csv('Data Test 1 - Sheet1.csv')
data_test_1_sheet_1Let's perform some EDA (Exploratory Data Analysis)
Summary Stats
summary(data_test_1_sheet_1) # Summary StatJust having a peek at the data structure
glimpse(data_test_1_sheet_1) # The Columns need to be properly formated;
# there is no uniformity in the date formats.
# Change it from Integers to Date format.Hidden output
Checking to see if any data is missing; so far so good, all is well.
colSums(is.na(data_test_1_sheet_1)) # No missing dataHidden output