Question: Task 1: Instructions First, get the data into your workspace and summarize it by year. Do you notice a pattern over time? Read datasets/breath_alcohol_ames.csv into

Task 1: Instructions

First, get the data into your workspace and summarize it by year. Do you notice a pattern over time?

  • Read datasets/breath_alcohol_ames.csv into your workspace using the read_csv() function. Save it as ba_data.
  • Count how many tests were administered in each year using the count() function, creating a new data set called ba_year.

# Load the packages library(dplyr) library(readr) library(ggplot2)

# Read the data into your workspace ba_data <- ....

# Quickly inspect the data head(ba_data)

# Obtain counts for each year # .... YOUR CODE FOR TASK 1 ....

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!