Wolfram 语言

云端存储和操作

访问数据存储库

可视化 Wolfram 数据存储库中资源对象的内容.

获取现有有关纽约市资源的列表.

In[1]:=
Click for copyable input
nycResources = ResourceSearch["NYC"]
Out[1]=

提取名为 "NYC Motor Vehicle Collisions" 对象中的数据.

In[2]:=
Click for copyable input
dataset = ResourceData[ First[Select[ nycResources, #["Name"] == "NYC Motor Vehicle Collisions" &]]];

将数据限制在曼哈顿.

In[3]:=
Click for copyable input
manhattanCollions = Select[dataset, #Borough == Entity["AdministrativeDivision", {"NewYorkCounty", "NewYork", "UnitedStates"}] &];

用地理直方图表示那个数据子集.

In[4]:=
Click for copyable input
GeoHistogram[Normal[manhattanCollions[All, "Coordinates"]], GeoRange -> Quantity[7, "Miles"]]
Out[4]=

相关范例

de en es fr ja ko pt-br ru