Code Monkey home page Code Monkey logo

gemeindeverzeichnis's Introduction

Gemeindeverzeichnis

Das Gemeindeverzeichnis-Informationssystem (GV-ISys) des Statistischen Bundesamts führt jede politisch selbständige Gemeinde Deutschlands (ohne Ortsteildaten) u.a. mit den Merkmalen:

  • Amtlicher Gemeindeschlüssel (AGS)
  • Gemeindenamen
  • Die Postleitzahl des Verwaltungssitzes der Gemeinde bzw. Stadt
  • Fläche in km²
  • Einwohnerzahl (insgesamt/männlich/weiblich)
  • Siedlungsstrukturelle Typisierungen, wie z.B. Raumordnungsregionen oder auch EU-Stadt-Land-Gliederung

Leider bietet das Statistische Bundesamt keinen kostenlosen Download des Gemeindeverzeichnisses an. Es kann im Excel-Format für 108,- € erworben werden. Aus diesem Grund wurde dieses freie Repository geschaffen. Die kostenlose CSV-Datei gibt es hier.

Aktualisierung der Daten

Für die Aktualisierung der Daten wird Ruby 1.9 und der HTML-Parser Nokogiri benötigt.

Die ./download.sh lädt die Suchergebnisse als HTML herunter und legt sie unter /html ab.

Die ./convert.rb wandelt die heruntergeladenen Suchergebnisse ins YAML-Format um und legt sie unter /data ab.

Die ./update.sh führt den Download und die Umwandlung durch, commitet die Änderungen und pusht diese.

Die ./csv.rb gibt die YAML-Dateien im CSV-Format auf der Standardausgabe aus.

Lizenz

WTFPL

gemeindeverzeichnis's People

Contributors

corny avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.