TWJolly / fundraising_data_pull

Pulls data from the JustGiving API for a defined set of charities and highlights new pages
1 stars 1 forks source link

Correct mappings to all charities? (does the app also search by regno or justgiving_id and where do these come from?) #7

Closed daaronr closed 6 years ago

daaronr commented 6 years ago

I'm trying to run the app with some new charities (effective_charities_plus.csv) but it doesn't seem to be picking up everything. E.g., "Medecins Sans Frontieres (UK)"... because of unicode/accents. Can/does the app also search by regno or justgiving_id for the charity? Also, where did we get "justgiving_id" from?

daaronr commented 6 years ago

I see the app drops the charity from charity_data if we don't have a value here. There seems to be a workaround way to look these up at https://developer.justgiving.com/apidocs/sdi#, look in the link... but this works only imperfectly

daaronr commented 6 years ago

Typing in "Medecins Sans Frontieres (UK)" (without accents) seems to have worked ... at least it recovered 20 fundraisers

TWJolly commented 6 years ago

Had to go back to older version of master to merge my earlier commits. Could you branch the current version of master and make these (https://github.com/TWJolly/fundraising_data_pull/commit/0fe803342d5217d3cda36f23d8705f5fd16cc910) changes again? - only try and merge into master when it's definitely working!

daaronr commented 6 years ago

OK. I am trying out your committed version. Next I will try re-including my changes (https://github.com/TWJolly/fundraising_data_pull/commit/0fe803342d5217d3cda36f23d8705f5fd16cc910) one by one and make sure it still runs ... then merge them in. Some things we may need to discuss, however, like how to use the correct charity ID.