Find a file
2022-12-22 19:01:17 +01:00
.envrc Initial commit 2022-12-22 18:52:05 +01:00
.gitignore Initial commit 2022-12-22 18:52:05 +01:00
get-gremium-members.mjs Initial commit 2022-12-22 18:52:05 +01:00
package-lock.json Initial commit 2022-12-22 18:52:05 +01:00
package.json Initial commit 2022-12-22 18:52:05 +01:00
README.md Add README 2022-12-22 19:01:17 +01:00
shell.nix Initial commit 2022-12-22 18:52:05 +01:00

get-gremium-members

This utility fetches the data of council members of city of Cologne and burps them out in CSV.

To start, make sure you have node (nodejs) in your path

Usage

The general command syntax is:

node ./get-gremium-members.mjs $URL

$URL is a url string that points at the page of a committee. The full list can be found here.

For example, to get a CSV of all the members of the Rat, run the following:

node ./get-gremium-members.mjs 'https://ratsinformation.stadt-koeln.de/kp0040.asp?__kgrnr=1' > rat.csv