KaylaCrush / advocacy-maps

The good governance project (GGP) is a non-partisan democracy reform group.
https://mapletestimony.org
MIT License
0 stars 1 forks source link

reorganize table creation workflow #41

Closed KaylaCrush closed 1 year ago

KaylaCrush commented 1 year ago

I would like to rethink how dividetext interacts with the get{table} functions

current functionality works well with the activities table, where it is necessary to add lobbyist and client info that is present but not included in the table. any solution will have to take that into account.

if table_name = 'Activities' in the create table function maybe??

primary motivation would be to have more informative error handling. Right now the exception handler is on the lowest level and only has access to the list-of-lists that caused the error and the columns of the table. It would be nice to at LEAST have the table_name so I can give a coherent error message

KaylaCrush commented 1 year ago

Could I just move my try: except: block higher up???

KaylaCrush commented 1 year ago

done in beautiful soup refactor