Sinar / popit_ng

Database and API implementation of Popolo standard
GNU Affero General Public License v3.0
22 stars 4 forks source link

Missing state attribute in area field for current MP posts #144

Open leowmjw opened 8 years ago

leowmjw commented 8 years ago

Take note; for the following two entries when transferring over from the old PopIt database, need to add the state field. I have added the post_ID for easier reference.

[
  {
    "post_id": "5368e0c019ee29270d8a9fb2",
    "myname": "Hee Loy Sian",
    "myorg": "House of Representative",
    "mypost": "MP for Petaling Jaya Selatan",
    "mystart": "2013-05-06",
    "myarea": {
      "id": "P105",
      "name": "Petaling Jaya Selatan"
    }
  },
  {
    "post_id": "5368e0f419ee29270d8a9fb3",
    "myname": "Tony Pua Kiam Wee",
    "myorg": "House of Representative",
    "mypost": "MP for Petaling Jaya Utara",
    "mystart": "2013-05-06",
    "myarea": {
      "id": "P106",
      "name": "Petaling Jaya Utara"
    }
  }
]
sweemeng commented 8 years ago

This will be an extension to area definition in popolo

http://www.popoloproject.com/schemas/area.json

sweemeng commented 8 years ago

I think defer to later because