-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path39-EDA.Rmd
86 lines (58 loc) · 1.44 KB
/
39-EDA.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Exploratory Data Analysis
```{r}
# load to get txhousing data
library(ggplot2)
```
Data Report
Feature Engineering
Missing Data
```{r, eval = FALSE}
# install.packages("DataExplorer")
library(DataExplorer)
# creat a html file that contain all reports
create_report(txhousing)
introduce() # see basic info
dummify() # create binary columns from discrete variables
split_columns() # split data into discrete and continuous parts
plot_correlation() # heatmap for discrete var
plot_intro()
plot_missing() # plot missing value
profile_missing() # profile missing values
plot_prcomp() # plot PCA
```
Error Identification
```{r, eval = FALSE}
# install.packages("dataReporter")
library(dataReporter)
makeDataReport() # detailed report like DataExplorer
```
Summary statistics
```{r, eval = FALSE}
library(skimr)
skim() # give only few quick summary stat, not as detailed as the other two packages
```
Not so code-y process
Quick and dirty way to look at your data
```{r, eval = FALSE}
# install.packages("rpivotTable")
library(rpivotTable)
# give set up just like Excel table
data %>%
rpivotTable::rpivotTable()
```
Code generation and wrangling
Shiny-app based Tableu style
```{r, eval = FALSE}
# install.packages("esquisse")
library(esquisse)
esquisse::esquisser()
```
Customized your daily/automatic report
```{r}
# install.packages("chronicle")
library(chronicle)
```
```{r}
# install.packages("dlookr")
# install.packages("descriptr")
```