diff --git a/etl/ownership/config.py b/etl/ownership/config.py index 1940e06d..1b67e742 100644 --- a/etl/ownership/config.py +++ b/etl/ownership/config.py @@ -4,9 +4,28 @@ OWNERS_WHO_CANT_SELL = [ "4483430", # Ultrabarn - they're unwilling to sell and will sort any retrofits themselves "2794851" + # Mountview - Anna spoke with someone from Mounview - they acquire tenancies and sell them as soon as they become + # vacant. They have no immediate opportunities but we may come back and remove this + "328090" ] EXCLUDED_UPRNS = [ # This property no longer exists - 200003827624 + 200003827624, + # This property doesn't seem to exist + 90070698, + # Can't really find a solid record on Zoopla/Rightmove + 10090437990, + # This property doesn't seem to exist + 100070902790, + # This property doesn't seem to exist + 100070902791, + # This property doesn't seem to exist + 100031997775, + # Can't find reliable information to this property on zoopla/rightmove + 200001372608, + # Can't find reliable information to this property on zoopla/rightmove + 100031592801, + # Can't find reliable information to this property on zoopla/rightmove + 100031579087, ] diff --git a/etl/ownership/projects/midlands_portfolio/app.py b/etl/ownership/projects/midlands_portfolio/app.py index f868bd3b..e79d86d2 100644 --- a/etl/ownership/projects/midlands_portfolio/app.py +++ b/etl/ownership/projects/midlands_portfolio/app.py @@ -166,7 +166,8 @@ def app(): # We read in the current valuation data and identify if there are any uprns that need to be added previous_valuations = pd.read_excel( "/Users/khalimconn-kowlessar/Documents/hestia/Customers/sfr/sfr property valuations.xlsx") - asset_list[~asset_list["uprn"].astype(str).isin(previous_valuations["uprn"].astype(str))] + missed = asset_list[~asset_list["uprn"].astype(str).isin(previous_valuations["uprn"].astype(str))] + missed.to_csv("missed_valuations.csv") # We now need a distinct step to prepare final outputs portfolio_timestamp = "2024-08-20 15:51:10.292075"