Combining data

Sometimes the data that you obtain from a source system is incomplete. Consider this dataset of crash locations that was obtained from the State Department of Transportation office:

Combining data

Notice that latitude and longitude are missing and that location does not use a normal address/city/state pattern. Rather, it is OnRoad, Miles, FromRoad, and TowardRoad. Unfortunately, this is fairly common when getting data from public entities—systems may have been built before lat/lon became mainstream and the system's addressing might be designed to only work inside the system. This means we need a way to figure out the latitude and longitude from this ...

Get Mastering .NET Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.