pbinkley / twarc-report

Data conversions and examples for generating reports from twarc collections using tools such as D3.js
Creative Commons Zero v1.0 Universal
55 stars 6 forks source link

Replace old geo element with place #12

Open pbinkley opened 7 years ago

pbinkley commented 7 years ago

Locations are now contained in place element:

 "place": {
    "full_name": "Toronto, Ontario",
    "url": "https://api.twitter.com/1.1/geo/id/3797791ff9c0e4c6.json",
    "country": "Canada",
    "place_type": "city",
    "bounding_box": {
      "type": "Polygon",
      "coordinates": [
        [
          [
            -79.639319,
            43.403221
          ],
          [
            -78.90582,
            43.403221
          ],
          [
            -78.90582,
            43.855401
          ],
          [
            -79.639319,
            43.855401
          ]
        ]
      ]
    },
    "contained_within": [],
    "country_code": "CA",
    "attributes": {},
    "id": "3797791ff9c0e4c6",
    "name": "Toronto"
  },