You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's unclear to me how to get people / legislators data into a postgresql db?
I've successfully ran init-db.sh and have a container of your pg db, and I was mostly successful running scrape-ca but came across errors seemingly related to missing people data. I'm hoping this can be resolved by hydrating the pg db with your people data, but I'm not finding a command in the documentation to do so?
The text was updated successfully, but these errors were encountered:
The reason I ask is, when running docker-compose run --rm ca-scrape ca bills --fast, I hit a long list of exceptions that for example are similar to this:
ERROR openstates: no people returned for (AND: (OR: ('name__iexact', 'McKinnor'), ('other_names__name__iexact', 'McKinnor'), ('family_name__iexact', 'McKinnor')), ('memberships__organization__jurisdiction_id', 'ocd-jurisdiction/country:us/state:ca/government'), ('memberships__organization__classification__in', ('upper', 'lower', 'legislature')), (OR: ('memberships__end_date', ''), ('memberships__end_date__gt', '2020-12-07')), (OR: ('memberships__start_date', ''), ('memberships__start_date__lt', '2021-12-31')))
I basically assume this is because my db is missing people data?
It's unclear to me how to get people / legislators data into a postgresql db?
I've successfully ran init-db.sh and have a container of your pg db, and I was mostly successful running scrape-ca but came across errors seemingly related to missing people data. I'm hoping this can be resolved by hydrating the pg db with your people data, but I'm not finding a command in the documentation to do so?
The text was updated successfully, but these errors were encountered: