dolthub / dolthub-etl-jobs

ETL jobs that DoltHub maintained that load public data into DoltHub.
Apache License 2.0
18 stars 9 forks source link

Alaska and Alabama import script and changes to load_by_state.py to m… #209

Closed timsehn closed 2 years ago

timsehn commented 4 years ago

…ake them work

oscarbatori commented 4 years ago

You only need vote count cols. I enhanced the script to negate the need for anything beyond that. Obviously if you want to handle other columns you need a transformer.

timsehn commented 4 years ago

So delete everything but VOTE_COUNT_COLS?

On Thu, Jun 18, 2020 at 4:00 PM Oscar Batori notifications@github.com wrote:

You only need vote count cols. I enhanced the script to negate the need for anything beyond that. Obviously if you want to handle other columns you need a transformer.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/liquidata-inc/liquidata-etl-jobs/pull/209#issuecomment-646346472, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJAR3DEZCDOPVAANJACMG3RXKL7PANCNFSM4OCDF7EQ .

oscarbatori commented 4 years ago

This is no longer needed:

PRECINCT_VOTE_PKS = ['election_id', 'precinct', 'party', 'candidate']

PRECINCT_VOTES_COLS = ['votes']

We do not use this information when parsing.