datamade / war-chest

API for Chicago Aldermen's Campaign Funds
http://chicagoelections.datamade.us/war-chest/
1 stars 0 forks source link

associate people with pupa id #8

Closed derekeder closed 10 years ago

derekeder commented 10 years ago

format:

ocd-person/7d7cd7c0-3cbf-11e3-a5d6-406c8f57516a

fgregg commented 10 years ago

@evz, @derekeder Any chance we can address this today?

From my hacking on anthropod/pupa, the ocd-person ids are now stable.

I need this ID so that I can link the campaign finance data with the rest of the data.

derekeder commented 10 years ago

@evz i can take a stab at this, but you will probably be able to get it done faster.

The approach I would take would be to add pupa_id to the candidate model and paste the ids in there manually.

Also, is the plan to migrate this db to mongo so the stack is consistent across scrapers and the api? (https://github.com/datamade/anthropod/issues/5)

evz commented 10 years ago

Yeah, pretty sure that's the plan (and hand cutting and pasting is kinda the approach @fgregg and I had in mind). I was thinking we could make this, the elections app, and the clout app requirements of our install of anthropod. So when we deploy it, they'll just be in the requirements file and will get installed with the rest of the stuff (kinda the way you plugged imago in there).

derekeder commented 10 years ago

done with 3c3f6240fbf35dc30e4126077290959117ac734e