Skip to content

pycensus.census.countries.mexico.elections.build_schema

Regenerate schema/elections_schema.json (needs data access).

build(census_geometry=None, aoi=None, out=None)

Write the Mexico elections schema JSON from the columns the loader produces.

Parameters:

Name Type Description Default
census_geometry

{level: polygons}.

None
aoi

Study area.

None
out

Output file; None = the package schema.

None

Returns:

Type Description

The output path.