Converting data types
Throughout this chapter, you'll be working with San Francisco bike share ride data called bike_share_rides
. It contains information on start and end stations of each trip, the trip duration, and some user information.
Before beginning to analyze any dataset, it's important to take a look at the different types of columns you'll be working with, which you can do using glimpse()
.
In this exercise, you'll take a look at the data types contained in bike_share_rides
and see how an incorrect data type can flaw your analysis.
dplyr
and assertive
are loaded and bike_share_rides
is available.
This exercise is part of the course
Cleaning Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Glimpse at bike_share_rides
___
# Summary of user_birth_year
___