geocode_xls_to_csv

Use PDOK API to clean addresses. and returns the CSV.

Example command line:
geocode_xls_to_csv tests/transform/testdata/bag_geocoding.xlsx --city Amsterdam

Args:

  1. filename: some_folder/your_file.xls
  2. –city: Amsterdam, is optional, it will search for a column named: ‘stad’, ‘city’, ‘woonplaats’, ‘plaats’
Returns:
A CSV file of the XLS with BAG id, coordinates and naming.

usage: geocode_xls_to_csv [-h] [--city CITY] filename

Positional Arguments

filename Add filename

Named Arguments

--city Add city name if there is no column provided

functions

datapunt_processing.transform.geospatial.geocode_xls_to_csv.parser()

Parser function to run arguments from commandline and to add description to sphinx docs. To see possible styling options: https://pythonhosted.org/an_example_pypi_project/sphinx.html