Clone your repo appex03-[github_name]
on GitHub to create a new project in RStudio Cloud under the STA 199 class space.
Configure git
library(usethis)
use_git_config(user.name="your name", user.email="your email")
Let’s load package tidyverse
.
library(tidyverse)
To load the data we will use function read_csv2()
and save the data frame as an object named ncbikecrash
.
ncbikecrash <- read_csv2("data/nc_bike_crash.csv")
Identify the most common driver speed limit for when bike crashes occur.
Filter ncbikecrash
for crashes in residential areas where the driver age group is 0-19.
What is the mean hour for when a crash occurs in Durham County for each month?
Plot your result from Task 3.