Skip to content

pycensus.census.countries.germany.ba

BA (Bundesagentur fuer Arbeit) jobs-by-workplace source -- see loader.py.

load(aoi=None, regions=None, level='municipality', year='latest', cache_dir=None, cache=True, data_dir=None)

Load real BA (Bundesagentur fuer Arbeit) jobs-by-workplace data.

Parameters:

Name Type Description Default
aoi

Area of interest. Used to auto-detect regions (German states) if not given, and to clip the final result.

None
regions

German state name(s)/abbreviation(s)/code(s). Derived from aoi if omitted (aoi is then required).

None
level str

Standard geometry level. "municipality" (Gemeinde, AMK's real native granularity) or "district" (Kreis, a real spatial aggregation of it) -- see :data:IMPLEMENTED_LEVELS.

'municipality'
year

Vintage year present in the AMK workbook's year columns, or "latest" (the workbook's own most recent year, currently 2025 -- see :data:LATEST_AMK_PERIOD).

'latest'
cache_dir

Root of pyCensus' parquet cache.

None
cache bool

If False, bypass the cache entirely.

True
data_dir Optional[str]

Root directory for the raw AMK zip download cache (separate from the parquet cache, like every other country module's raw/ cache).

None

Returns:

Type Description
GeoDataFrame

GeoDataFrame with GEOID, geometry, and ba_jobsTotal.