api_clean_BAG_address_NED¶
Use PDOK API to clean addresses. and returns the CSV.
- Example command line:
api_clean_BAG_address_NED ../../tests/transform/testdata/amsterdam_hotspots.csv
Args:
- filename: some_folder/your_file.xls
- –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: api_clean_BAG_address_NED [-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.api_clean_BAG_address_NED.
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