This week, Ellis Hughes and I start by breaking down the code that Jihong Zhang wrote to visualize Caribou Movements in Canada from data provided by the TidyTuesday Project. The data is spatial tracking data and Jihong plotted this data over top of a google map. Since spatial data is currently very popular in sport, we decided to create our own plots of NBA Shot Charts using three different approaches (scatter plots, hexbins, and heat maps). To obtain this data, we walk through our code on web scraping.
This screen cast covers a number of key topics in data science:
1. Obtaining data via web scraping.
2. Dealing with regularized expressions.
3. Visualizing data.
4. Some things to consider when joining tables (NOTE: I did a BLOG ARTICLE a few months ago that details the various JOIN functions in {tidyverse}, so it may be worthwhile to check that out).
To watch the screen cast, CLICK HERE.
To access our code, CLICK HERE.