openstates/scrapy-test

Better folder structure for spiders

Closed this issue · 0 comments

We should use a structure like the following inside the spiders subfolder:

[[ISO 3166-1 Alpha-2 code]](https://en.wikipedia.org/wiki/ISO_3166-1)/
├── [[State/Province code]](https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States#States)/
│   ├── [Municipality name]
│   │      └── events.py
│   ├── bills.py
│   ├── events.py
│   └── people.py

eg

us/
├── mn/
│   ├── minneapolis/
│   │      └── events.py
│   ├── bills.py
│   ├── events.py
│   └── people.py
├── bills.py
├── events.py

So basically the structure of https://github.com/openstates/openstates-scrapers/tree/main/scrapers but with the top level representing countries (rather than US states being the top level).