com.factual.data_science_toolkit
Class DataScienceToolkit

java.lang.Object
  extended by com.factual.data_science_toolkit.DataScienceToolkit

public class DataScienceToolkit
extends Object

Provides a wrapper to Data Science Toolkit's public API.

Author:
aaron

Constructor Summary
DataScienceToolkit()
           
 
Method Summary
 Coord streetToCoord(String text)
          Queries the Data Science Toolkit for the coordinates of a location specified with text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataScienceToolkit

public DataScienceToolkit()
Method Detail

streetToCoord

public Coord streetToCoord(String text)
Queries the Data Science Toolkit for the coordinates of a location specified with text.

text might be something like "12001 Chalon los angeles ca".

Parameters:
text - free form text including information about a desired location, e.g. city name, zip code, etc.
Returns:
the matching coordinate data from the Data Science Toolkit, or null if no match.


Copyright © 2012. All Rights Reserved.