diff --git a/fetch_municipalities.sh b/fetch_municipalities.sh index dc500cfe..d0796ab6 100755 --- a/fetch_municipalities.sh +++ b/fetch_municipalities.sh @@ -3,12 +3,9 @@ # Function to fetch and process data for a supplier fetch_supplier_data() { local supplier=$1 - echo "Supplier: $supplier" - echo "key,cbs_id" curl -s "https://raw.githubusercontent.com/openstate/open-raadsinformatie/master/ocd_backend/sources/ori.$supplier.yaml" | \ yq e '.["ori.'$supplier'"][] | [.key, .cbs_id] | @csv' | \ sed 's/"//g' # Remove quotes for easier Excel import - echo } # Main script