feomike / slope

makes a bunch of data objects for time series line charts
1 stars 0 forks source link

write simple FI json list #10

Closed feomike closed 8 years ago

feomike commented 8 years ago

get a json file with the list of bank names. doing an autocomplete on the bank (the who) input. something like: { "banks": [ "Bank One", "Bank Two", "Bank Two Inc." ] }

place in the /data dir

feomike commented 8 years ago

holding off on this on as names are hard; need to add in respondent_id and agency_code (perhaps).

feomike commented 8 years ago

simple part of this executed. it creates a dump file of the names run at the time of running. the problem w/ this is it would over write this file if ever this was run multiple times. for this simple case (proof) it is good enough for now. closing

feomike commented 8 years ago

change "financial institution names" tp ""financial_institution_names""

awolfe76 commented 8 years ago

@feomike any objections to using camelCase everywhere? So financialInstituionNames instead. Just makes it even easier to deal with.

feomike commented 8 years ago

no objections @awolfe76. easy peasy

feomike commented 8 years ago

@wolfe76 - like this?

{ "financialInstitutionNames": ["first-national-bank-alaska", "golden", "golden-one", "quicken", "quicken-loans", "the-golden-1-credit-union"] }

awolfe76 commented 8 years ago

:+1:

feomike commented 8 years ago

done

awolfe76 commented 8 years ago

Sorry, just noticed that the bank names here have -. We should use the "clean" name. For example, instead of "quicken-loans" it should be "Quicken Loans".