Message Boards Message Boards

0
|
932 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How to find specific information in a DataSet

Posted 6 months ago

Hello,
I have found some neat video about earthquakes on Wolfram U, where you can collect data about all the earthquakes that happened in a specific time:

data = Values[EarthquakeData[All, 5, {{2010, 1, 1}, Today}]];

OK, this will create Dataset with all earthquakes above magnitude 5 from January 1st, 2010 until today.
Now I want to find all earthquakes within this dataset that have highest magnitude, more specifically, if the highest magnitude is 9, I want to extract all of them and finally plot them on a map.

How can I extract that data?
Thanks!

POSTED BY: Ivo P.
2 Replies
Posted 6 months ago
data = Values[EarthquakeData[All, 5, {{2010, 1, 1}, Today}]];

Select[data, #["Magnitude"] > 7 &]
POSTED BY: Pred Liu
Posted 6 months ago

Thanks!

POSTED BY: Ivo P.
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