Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201945

How to get a dataframe using an Rsocrata API? [closed]

$
0
0

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".


Viewing all articles
Browse latest Browse all 201945

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>