create_geo_lookup_table#
- caf.ntem.build.create_geo_lookup_table(session, lookup_path, source, version)[source]#
Create and insert geo lookup tables using the access data.
- Parameters:
session (orm.Session) – Session to write geo-lookup tables to.
lookup_path (pathlib.Path) – Path to lookup Access file.
source (str) – Name of the source.
version (str) – Version of the source.
- Returns:
lookup between NTEM zone ids and the IDs in the database
- Return type:
pd.DataFrame