You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for building Home Harvest and for making it open source! It appears that homes selling multiple times within an allotted time frame only show up as a single line item.
Is there a way to return each sale transaction as an individual line item?
The text was updated successfully, but these errors were encountered:
Realtor.com shows that the property was sold twice between 2020 and 2023. The earlier sale on November 25, 2020 and the most recent sale on April 26, 2023.
HomeHarvest shows the property as one line reflecting the most recently sold date of April 26, 2023.
It would be great if each of the sales were output on an individual line.
from homeharvest import scrape_property
from datetime import datetime
current_timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
filename = f"HomeHarvest_{location}_{current_timestamp}.csv"
location="91303"
properties = scrape_property(
location={location},
listing_type="sold",
date_from="2020-11-01",
date_to="2023-04-30",
extra_property_data=True,
)
print(f"Number of properties: {len(properties)}")
# Export to csv
properties.to_csv(filename, index=False)
print(properties.head())
Thank you for building Home Harvest and for making it open source! It appears that homes selling multiple times within an allotted time frame only show up as a single line item.
Is there a way to return each sale transaction as an individual line item?
The text was updated successfully, but these errors were encountered: