Skip to content

Commit

Permalink
Fixed language around happiest state problem
Browse files Browse the repository at this point in the history
  • Loading branch information
billhowe committed Jul 2, 2014
1 parent 63a331e commit 96f45ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assignment1/assignment1.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,10 @@ <h3>Problem 5: Which State is happiest?</h3>

<p>There are different ways you might assign a location to a tweet. Here are three:
<ul>
<li>Use the <code>coordinates</code> field, if it exists, to geocode the tweet. This method gives the most reliable location information, but unfortunately not very many tweets contain this field and you have to figure out some way of translating the coordinates into a state</li>

<li>Use the <code>place</code> field. This field is hand-entered by the twitter user and may not always be present, and will not typically contain a state. It might contain a city, though, which you could use to determine the state.</li>
<li>Use the <code>coordinates</code> field (a part of the <code>place</code> object, if it exists, to geocode the tweet. This method gives the most reliable location information, but unfortunately this field is not always available and you must figure out some way of translating the coordinates into a state.</li>

<li>Use the other metadata in the <code>place</code> field. Much of this information is hand-entered by the twitter user and may not always be present or reliable, and may not typically contain a state name.</li>

<li>Use the <code>user</code> field to determine the twitter user's home city and state. This location does not necessarily correspond to the location where the tweet was posted, but it's reasonable to use it as a proxy.</li>
</ul>
Expand Down

0 comments on commit 96f45ab

Please sign in to comment.