OpenParliamentTV / OpenParliamentTV-NEL

0 stars 1 forks source link

Directory & File naming convention #13

Open OpenHypervideo opened 3 years ago

OpenHypervideo commented 3 years ago

For use with multiple parliaments, the directories & files should be structured accordingly (maybe similar to https://github.com/OpenParliamentTV/OpenParliamentTV-Parsers/tree/main/parliaments/DE).

The idea would be that the directories & files are directly derived from the input data, so the request parts parliament=DE&type=memberOfParliament would look for results in db_dump/parliaments/DE/data/memberOfParliament/data-final.json.

These are just examples. If with the current implementation a different structure makes more sense, feel free to adjust ;)

OpenHypervideo commented 3 years ago

Oh miconception here on my side: parties are of course not per parliament, so only factions & members of parliament are located in /parliaments/DE/. I'll give this another thought... ;)