regionalstatistik Staat

Das passende Objekt der Regionalstatistik finden, seine Daten nach Kreis oder Gemeinde abrufen und aufbereiten und Tabellen als CSV/Excel exportieren – über die GENESIS-API der Regionaldatenbank Deutschland mit der regionalstatistik-cli.

Installation

  1. CLI regstat installieren:

    npm i -g @maschinenlesbar.org/regionalstatistik-cli
  2. Marketplace hinzufügen (einmalig):

    /plugin marketplace add maschinenlesbar-org/plugins
  3. Plugin installieren:

    /plugin install regionalstatistik@maschinenlesbar

Voraussetzungen wie API-Schlüssel oder Konten stehen in SKILLS.md.

Skills

Die Beschreibungen der Skills sind englisch – Claude wählt anhand dieser Texte den passenden Skill. Ihre Fragen können Sie trotzdem auf Deutsch stellen.

  • /regionalstatistik:regionalstatistik-data-fetch

    Fetch and interpret the actual numbers from a Regionaldatenbank Deutschland table, cube or time series (regionalstatistik.de) using the regionalstatistik-cli, then explain the returned CSV. Trigger when the user asks "Einwohnerzahl von Heidelberg?", "population of a German district over time", "Arbeitslosenquote je Kreis?", "pull table 12411-01-01-4 for Baden-Württemberg", "how many inhabitants does Kreis 08221 have?", or has an object code and wants values narrowed by year and region. Handles the region-key/region-var and year filters and decodes the ";"-delimited German-format CSV that arrives inside Object.Content.

  • /regionalstatistik:regionalstatistik-statistics-finder

    Find the right regional official-statistics object (table, statistic, cube or time series) in Germany's Regionaldatenbank (regionalstatistik.de) using the regionalstatistik-cli. Trigger when the user asks "which table has population per Kreis?", "find official statistics on unemployment by district", "Einwohnerzahl von Heidelberg?", "Arbeitslosenquote je Kreis?", "which regionalstatistik table covers Gemeinde-level land use?", or needs to turn a regional topic into a concrete object code before pulling numbers. Searches with find, narrows with catalogue, and confirms the structure with metadata — handing back the exact code and the regional variables to filter by.

  • /regionalstatistik:regionalstatistik-table-download

    Export a Regionaldatenbank Deutschland table, cube, time series or saved result (regionalstatistik.de) to a file (CSV, flat "ffcsv", Excel, HTML or GENML) using the regionalstatistik-cli. Trigger when the user asks "download the population per Kreis as CSV", "save table 12411-01-01-4 for Baden-Württemberg to Excel", "export district unemployment figures to a spreadsheet", "give me the Gemeinde data as a file", or wants a spreadsheet-ready file rather than JSON in the terminal. Writes the server-rendered download (a ZIP) to a path you confirm, and reports what was written.

Details

Repository
maschinenlesbar-org/regionalstatistik-cli
CLI
@maschinenlesbar.org/regionalstatistik-cli (Befehl regstat)
Plugin-Version
0.2.0, aus Tag v0.0.5
Lizenz
AGPL-3.0-or-later
Datenbedingungen
DATA_LICENSE.md
Schlagwörter
regionalstatistik, regionaldatenbank, genesis, genesis-online, statistik, official-statistics, regional-statistics, kreise, gemeinden, germany, opendata, bund.dev