From 6c27bcd973e01b1a265ad5727d89e9c0ff0adbaa Mon Sep 17 00:00:00 2001 From: Leo Folsom Date: Wed, 10 Jul 2024 12:06:24 -0700 Subject: [PATCH 1/5] Update Create__ElectricVehicles_Clean.sql --- Create__ElectricVehicles_Clean.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Create__ElectricVehicles_Clean.sql b/Create__ElectricVehicles_Clean.sql index 67612f2..792d320 100644 --- a/Create__ElectricVehicles_Clean.sql +++ b/Create__ElectricVehicles_Clean.sql @@ -12,7 +12,7 @@ BEGIN PostalCode, REPLACE(ModelYear, '','', '''') as ModelYear, Make, - REPLACE(Model, '' '', '''') as Model, + Model, ElectricVehicleType, CAFVEligibility, ElectricRange, @@ -24,7 +24,7 @@ BEGIN CensusTract INTO ' + QUOTENAME(@database) + '.dbo.ElectricVehicles_Clean FROM ' + QUOTENAME(@database) + '.dbo.ElectricVehicles - WHERE 1=1 ' + @ExcludeClause; + WHERE 1=1 and PostalCode != 98953 ' + @ExcludeClause; EXECUTE sp_executesql @Sql, N'@ExcludeClause nvarchar(30)', @ExcludeClause; end; From 8985f07a171640f601609077f001c69d0d5ea01c Mon Sep 17 00:00:00 2001 From: Leo Folsom Date: Wed, 10 Jul 2024 14:19:05 -0700 Subject: [PATCH 2/5] Update Create__ElectricVehicles_Clean.sql --- Create__ElectricVehicles_Clean.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Create__ElectricVehicles_Clean.sql b/Create__ElectricVehicles_Clean.sql index 792d320..23d2285 100644 --- a/Create__ElectricVehicles_Clean.sql +++ b/Create__ElectricVehicles_Clean.sql @@ -9,7 +9,7 @@ BEGIN County, City, State, - PostalCode, + 12345 as PostalCode, REPLACE(ModelYear, '','', '''') as ModelYear, Make, Model, From 1668f441efc1424a9b9ec1db7f2c07bdac859b3b Mon Sep 17 00:00:00 2001 From: Leo Folsom Date: Wed, 10 Jul 2024 14:26:16 -0700 Subject: [PATCH 3/5] Update Create__ElectricVehicles_Clean.sql --- Create__ElectricVehicles_Clean.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Create__ElectricVehicles_Clean.sql b/Create__ElectricVehicles_Clean.sql index 23d2285..c3841d1 100644 --- a/Create__ElectricVehicles_Clean.sql +++ b/Create__ElectricVehicles_Clean.sql @@ -9,7 +9,7 @@ BEGIN County, City, State, - 12345 as PostalCode, + 22345 as PostalCode, REPLACE(ModelYear, '','', '''') as ModelYear, Make, Model, From 967cb4c2fa9c66958602a3c7c460eb67ce64d1cd Mon Sep 17 00:00:00 2001 From: Leo Folsom Date: Thu, 11 Jul 2024 10:16:25 -0700 Subject: [PATCH 4/5] Update Create__ElectricVehicles_Clean.sql --- Create__ElectricVehicles_Clean.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Create__ElectricVehicles_Clean.sql b/Create__ElectricVehicles_Clean.sql index c3841d1..23d2285 100644 --- a/Create__ElectricVehicles_Clean.sql +++ b/Create__ElectricVehicles_Clean.sql @@ -9,7 +9,7 @@ BEGIN County, City, State, - 22345 as PostalCode, + 12345 as PostalCode, REPLACE(ModelYear, '','', '''') as ModelYear, Make, Model, From cea6158ee103f8062e219bec5f9364bd1430efc6 Mon Sep 17 00:00:00 2001 From: Leo Folsom Date: Thu, 11 Jul 2024 10:18:52 -0700 Subject: [PATCH 5/5] one more change --- Create__ElectricVehicles_Clean.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Create__ElectricVehicles_Clean.sql b/Create__ElectricVehicles_Clean.sql index 23d2285..a439675 100644 --- a/Create__ElectricVehicles_Clean.sql +++ b/Create__ElectricVehicles_Clean.sql @@ -9,7 +9,7 @@ BEGIN County, City, State, - 12345 as PostalCode, + 12346 as PostalCode, REPLACE(ModelYear, '','', '''') as ModelYear, Make, Model,