I have the "Streams" sample set up and running. I want to simply extract the U.S. state (AZ, IL, TX, etc.) if the tweet is Place.CountryCode = "US". It appears that Place.PlaceType 1 and 6 are relevant to me.
With Place.PlaceType = 1, Place.Name is the full state name. I can work with that.
With Place.PlaceType = 6, which is far more common, Place.Name = city/town name and Place.FullName is city/townname comma space two-letter state code. Of course, I can string manipulate my way to the state code, but I'm wondering if there is better way to get to it.
, Lee
With Place.PlaceType = 1, Place.Name is the full state name. I can work with that.
With Place.PlaceType = 6, which is far more common, Place.Name = city/town name and Place.FullName is city/townname comma space two-letter state code. Of course, I can string manipulate my way to the state code, but I'm wondering if there is better way to get to it.
, Lee