npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gemeindeverzeichnis

v0.1.0

Published

German „Gemeindeverzeichnis“ (vaguely 'community register') containing all federal entities

Downloads

10

Readme

gemeindeverzeichnis

German „Gemeindeverzeichnis“ (vaguely "community register") containing all federal entities based on this dataset fortunately provided by the „Statistisches Bundesamt“.

npm version Build Status dependency status dev dependency status Greenkeeper badge license

Installation

npm install --save gemeindeverzeichnis

Usage

This module contains the following ndjson files:

You can also require the module itself to get readable streams in object mode:

const gemeindeverzeichnis = require('gemeindeverzeichnis')

gemeindeverzeichnis.kreise()
.on('data', console.log)
.on('error', console.error)

land

{
	ebene: { // federal layer
		nummer: 1,
		name: 'land'
	},
	name: 'Nordrhein-Westfalen',
	stand: '2017-03-30T22:00:00.000Z', // as of …, [Date() Object]
	weiteres: '', // additional information
	'schlüssel': { // ids
		nummer: '05', // entity id
		land: '05'
	},
	sitz: 'Düsseldorf' // seat of the state government
}

regierungsbezirk

{
	ebene: { // federal layer
		nummer: 2,
		name: 'regierungsbezirk'
	},
	name: 'Reg.-Bez. Münster',
	stand: '2017-03-30T22:00:00.000Z', // as of …, [Date() Object]
	weiteres: '', // additional information
	'schlüssel': { // ids
		nummer: '055', // entity id
		land: '05',
		regierungsbezirk: '5'
	},
	sitz: 'Münster' // seat of the administration
}

region

{
	ebene:{ // federal layer
		nummer: 3,
		name: 'region'
	},
	name: 'Region Stuttgart',
	stand: '2017-03-30T22:00:00.000Z', // as of …, [Date() Object]
	weiteres: '', // additional information
	'schlüssel': { // ids
		nummer: '081-1', // entity id
	 	land: '08',
	 	regierungsbezirk: '1',
	 	region: '1'
	},
	sitz: 'Stuttgart' // seat of the administration
}

kreis

{
	ebene: { // federal layer
		nummer: 4,
		name: 'kreis'
	},
	name: 'Gelsenkirchen, Stadt',
	stand: '2017-03-30T22:00:00.000Z', // as of …, [Date() Object]
	weiteres: '', // additional information
	'schlüssel': { // ids
		nummer: '05513', // entity id
		land: '05',
		regierungsbezirk: '5',
		kreis: '13'
	},
	sitz: 'Gelsenkirchen', // seat of the administration
	typ: { // type
		nummer: 41,
		name: 'kreisfreie-stadt'

		// 41: 'kreisfreie-stadt'
		// 42: 'stadtkreis'
		// 43: 'kreis'
		// 44: 'landkreis'
		// 45: 'regionalverband'
	}
}

gemeindeverband

{
	ebene: { // federal layer
		nummer: 5,
		name: 'gemeindeverband'
	},
	name: 'Marl, Stadt',
	stand: '2017-03-30T22:00:00.000Z', // as of …, [Date() Object]
	weiteres: '', // additional information
	'schlüssel': { // ids
		nummer: '055620024', // entity id
		land: '05',
		regierungsbezirk: '5',
		kreis: '62',
		gemeindeverband: '0024'
	},
	sitz: '', // seat of the administration
	typ: { // type
		nummer: 50,
		name: 'verbandsfreie-gemeinde'

		// 50: 'verbandsfreie-gemeinde'
		// 51: 'amt'
		// 52: 'samtgemeinde'
		// 53: 'verbandsgemeinde'
		// 54: 'verwaltungsgemeinschaft'
		// 55: 'kirchspielslandgemeinde'
		// 56: 'verwaltungsverband'
		// 57: 'vg-trägermodell'
		// 58: 'erfüllende-gemeinde'
	}
}

gemeinde

{
	ebene: { // federal layer
		nummer: 6,
		name: 'gemeinde'
	},
	name: 'Prezelle',
	stand: '2017-03-30T22:00:00.000Z', // as of …, [Date() Object]
	weiteres: '', // additional information
	'schlüssel': { // ids
		nummer: '033545403020', // entity id
		land: '03',
		regierungsbezirk: '3',
		kreis: '54',
		gemeindeverband: '5403',
		gemeinde: '020'
	},
	typ: { // type
		nummer: 64,
		name: 'kreisangehörige-gemeinde'

		// 60: 'markt'
		// 61: 'kreisfreie-stadt'
		// 62: 'stadtkreis'
		// 63: 'stadt'
		// 64: 'kreisangehörige-gemeinde'
		// 65: 'gemeindefreies-gebiet-bewohnt'
		// 66: 'gemeindefreies-gebiet-unbewohnt'
		// 67: 'große-kreisstadt'
	},
	'fläche': 4167, // area in <ha>
	'bevölkerung': 439, // population
	'bevölkerung-männlich': 220, // male population (As a side note: I'm not an anti-feminist, this is just taken from the original dataset which somehow doesn't include female population since it could be derivated by subtracting the male population from the absolute population. This still stinks a bit, though.. fight patriarchy! :D)
	plz: { // zip code
		nummer: '29491', // zip code of the entire body (if it only has one zip code) or the seat of the administration (if it has more than one zip code)
		eindeutig: true // false if the gemeinde has multiple zip codes
	},
	gerichtsbarkeit: { // jurisdication
		oberlandesgerichtsbezirk: '2',
		landsgerichtsbezirk: '5',
		amtsgerichtsbezirk: '04'
	},
	finanzamtsbezirk: '2332', // tax authority district
	arbeitsagenturbezirk: '25115', // job center district
	bundestagswahlkreise: { // federal election constituency numbers
		von: 37, // from this constituency number
		bis: 37 // to this constituency number (range could contain gaps)
	}
}

Build

The module contains a dataset as of 2017-03-18. To re-generate the dataset or to generate a newer version of it, run npm run build in the project root.

Contributing

If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.