Message Boards Message Boards

Analyzing NYC Collision Data Using the Wolfram Language

Posted 9 years ago
POSTED BY: Emma Yang
6 Replies
Posted 9 years ago

Hi Emma,

Thanks, data is OK. Most of it works as a charm with the code you shared in your post..

A comment to begin with. The 1000 rows correspond to 1000 accidents in the same day (May 17th 2016) all of them have the same cause "Unspecified'.It makes me wonder if this likely to occur in real life.

A few things do not work with my version of MMA (10.2):

Select[data, DateValue[#[["DATE"]], "Month"] == {4, 5} &] does not select anything although all rows are dated May 16th,2016. Quite puzzling. Related to the fact that the .m file has for date format DD MMM YY instead of something else to make the selection work ?

In Bar Chart # of Accidents per Borough, the name of the Borough is missing on the histogram x axis.

I noticed that the PieChart Collisions Sorted by Weekday, does not include the number of collisions in the slices (as in the previous PieChart.) Is it intended ?

That's all. Thank you again for your great post.

POSTED BY: Jan Potocki
Posted 9 years ago

Hello Is it possible that you add in your very instructive post a link to a very reduced version of the data that you used for your project ? (let's say a thousand rows) Thanks

POSTED BY: Jan Potocki
Posted 9 years ago

Hi Jan,

Attached to this reply is a shortened version of the data I used as a .m file. To retrieve it you can run Get to put the dataset into your notebook. Please let me know if this works for you.

Emma

Attachments:
POSTED BY: Emma Yang

This is an awesome post! Well done!

POSTED BY: Arnoud Buzing
Posted 9 years ago

Thank you Arnoud!

POSTED BY: Emma Yang

enter image description here - you earned "Featured Contributor" badge, congratulations !

This is a great post and it has been selected for the curated Staff Picks group. Your profile is now distinguished by a "Featured Contributor" badge and displayed on the "Featured Contributor" board.

POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract