ElectionDataAnalysis / electiondata

Tools for consolidation and analysis of raw election results from the most reliable sources -- the election agencies themselves.
Other
20 stars 5 forks source link

Create load/update jurisdiction feature #670

Closed sfsinger19103 closed 3 years ago

sfsinger19103 commented 3 years ago

See #626 for example. Want to be able to update existing jurisdiction info in the database. Current loading scheme just ignores (doesn't update) existing info.

sfsinger19103 commented 3 years ago

Need to create on_conflict option in insert_to_cdf_db() that can be on_conflict="DO NOTHING" or `on_conflict="DO UPDATE".

sfsinger19103 commented 3 years ago

Identical to #621