Space Launches
Graphing for EDA (Exploratory Data Analysis)
Notable topics: Graphing for EDA (Exploratory Data Analysis)
Recorded on: 2019-01-14
Timestamps by: Alex Cookson
Screencast
Timestamps
Using str_detect function to find missions with "Apollo" in their name
Starting EDA (exploratory data analysis)
Using fct_collapse function to recode factors (similar to case_when function)
Using countrycode function from countrycode package to get full country names from country codes (e.g. "RU" becomes "Russia")
Using replace_na function to convert NA (missing) observations to "Other"
Creating a line graph using geom_line function with different colours for different categories
Using fct_reorder function to reorder factors in line graph above, in order to make legend more readable
Creating a bar graph, using geom_col function, of most active (by number of launches) private or startup agencies
Using truncated division operator %/% to bin data into decades
Using complete function to turn implicit zeros into explicit zeros (makes for a cleaner line graph)
Using facet_wrap function to create small multiples of a line graph, then proceeding to tweak the graph
Using semi_join function as a filtering step
Using geom_point to create a timeline of launches by vehicle type
Explanation of why boxplots over time might not be a good visualization choice
Using geom_jitter function to tweak the timeline graph to be more readable
Creating a second timeline graph for US vehicles and launches
Summary of screencast