Code
dim(dat_road_fatalities)
Output
[1] 55360 16
Code
names(dat_road_fatalities)
Output
[1] "crash_id" "month" "year"
[4] "weekday" "time" "state"
[7] "crash_type" "bus" "heavy_rigid_truck"
[10] "articulated_truck" "speed_limit" "road_user"
[13] "gender" "age" "date"
[16] "date_time"
Code
classes(dat_road_fatalities)
Output
crash_id month year weekday
"numeric" "numeric" "numeric" "character"
time state crash_type bus
"hms/difftime" "character" "character" "character"
heavy_rigid_truck articulated_truck speed_limit road_user
"character" "character" "numeric" "character"
gender age date date_time
"character" "numeric" "Date" "POSIXct/POSIXt"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.