Using the Rsocrata package, I read data into a dataframe that shows the 2018 traffic accidents in and around Nashville, TN.
I am trying to have my dataframe (traffic_df) return #of accidents, data/time, #of vehicles, whether, hit and run, and illumination. I also need to have the dataframe have values for the number_of_accidents and number_of_injuries be 0, and I need the dataframe to only have data where the city_name is "Nashville".