From 92b81928ca2928838f60e52aeb796543b96c8ec7 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Fri, 27 Jul 2018 15:47:33 +0100 Subject: [PATCH] Rename etl scripts to reflect stages --- etl/{extract_addressbase.py => 0_extract_addressbase.py} | 2 +- etl/{extract_mastermap.sh => 0_extract_mastermap.sh} | 0 ...addressbase_buildings.py => 2_load_addressbase_buildings.py} | 0 ...d_mastermap_geometries.py => 2_load_mastermap_geometries.py} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename etl/{extract_addressbase.py => 0_extract_addressbase.py} (94%) rename etl/{extract_mastermap.sh => 0_extract_mastermap.sh} (100%) rename etl/{load_addressbase_buildings.py => 2_load_addressbase_buildings.py} (100%) rename etl/{load_mastermap_geometries.py => 2_load_mastermap_geometries.py} (100%) diff --git a/etl/extract_addressbase.py b/etl/0_extract_addressbase.py similarity index 94% rename from etl/extract_addressbase.py rename to etl/0_extract_addressbase.py index 5c8c603c..13cfb550 100644 --- a/etl/extract_addressbase.py +++ b/etl/0_extract_addressbase.py @@ -37,7 +37,7 @@ def read_addresses(source_dir): r = csv.reader(fh) for line in r: uprn = line[0] - toid = line[1] + # toid = line[1] # skip - we do our own matching to geometries easting = line[16] northing = line[17] lat = line[18] diff --git a/etl/extract_mastermap.sh b/etl/0_extract_mastermap.sh similarity index 100% rename from etl/extract_mastermap.sh rename to etl/0_extract_mastermap.sh diff --git a/etl/load_addressbase_buildings.py b/etl/2_load_addressbase_buildings.py similarity index 100% rename from etl/load_addressbase_buildings.py rename to etl/2_load_addressbase_buildings.py diff --git a/etl/load_mastermap_geometries.py b/etl/2_load_mastermap_geometries.py similarity index 100% rename from etl/load_mastermap_geometries.py rename to etl/2_load_mastermap_geometries.py