Introduction
1
Data Science Introduction
Clear the environment
1.1
Import Data
Import text file data
Check the first few lines
1.2
Convert to Date class
1.3
Introduction to plotly
1.3.1
Install the package
1.3.2
Load plotly package
1.4
Initiate a plotly plot
1.5
Data visualization rule
1.6
Plot.ly trick
2
Scatter plots
Clear the environment and activate packages
2.1
Import Data
Import text file data
Check the first few lines
Variable definitions
2.2
Introduction to scatter plot: add_markers
Basic scatter plot
2.3
Average propensity to consume (APC)
Create APC variable: mutate
APC of different quintiles
2.4
Income and consumption inequality
Income inequality
Consumption inequality
Data visualization
Data visualization
Mau-Ting Lin
2017-11-06
Introduction