# Property Map

## Dev setup

```sh
curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | sudo -E bash
task prepare
```

## Area

1. 45 min commute (perhaps near train station)
    - elizabeth line
    - train frequency
    - train strikes

2. affluency scores
    - crime rates - violent, antisocial
    - good rated schools?
    - employment rates / medium income
    - health
    - ethnic group - <https://datashine.org.uk/#table=QS201EW&col=QS201EW0002&ramp=YlOrRd&layers=BTTT&zoom=14&lon=-0.0143&lat=51.5010>

3. services
    - driving distance within several schools
    - city/town centre within 10-15 min drive
    - gp
    - bigger town/city centre than bath/york/oxford

4. ambiance
    - nature / greenery within 5 mins walk
    - not noisy (e.g. right next to A/B roads or highstreet)

5. fibre optic availability

6. between london and bournemouth ish

7. [Y] historical prices

8. current listings

## Action plan

1. use openstreetmap api to get the map

## Data Sources

- [Price Paid](https://www.gov.uk/government/statistical-data-sets/price-paid-data-downloads)

- [English Indices of Deprevation 2025](https://www.gov.uk/government/statistics/english-indices-of-deprivation-2025)
  - The English Indices of Deprivation (IoD25) measure relative levels of deprivation in 33,755 small areas or neighbourhoods, called Lower-layer Super Output Areas (LSOAs), in England.

- [Population by Ethnicity and Region 2021](https://www.ethnicity-facts-figures.service.gov.uk/uk-population-by-ethnicity/national-and-regional-populations/regional-ethnic-diversity/latest/#download-the-data)

- [Crime](https://data.police.uk/data/)

- [Postcode -> GPS](https://www.arcgis.com/sharing/rest/content/items/077631e063eb4e1ab43575d01381ec33/data)

Nice to haves?

- <https://www.gov.uk/government/statistics/english-indices-of-deprivation-2025> - file 8!

## Backend Data Sources

- [UK Regions](https://www.ons.gov.uk/methodology/geography/ukgeographies/statisticalgeographies)
![alt text](image.png)
  - [Lower Level Super Output Area (LSOAs)](https://communitiesopendata-communities.hub.arcgis.com/datasets/4da63019f25546aa92a922a5ea682950_0/explore?location=51.506508%2C-0.041229%2C13.82)
  - [Local Authority (Lower Tier)](https://communitiesopendata-communities.hub.arcgis.com/datasets/f3954cc3ded54a08b6fffbb361f5ee76_0/explore?location=52.522271%2C-2.489913%2C7.17)
  - [Local Autheority (Upper Tier)](https://communitiesopendata-communities.hub.arcgis.com/datasets/6e8edb2974da4834bbafa09644a5b02d_0/explore?location=52.684195%2C-2.489482%2C7.17)
- [Open Geography](https://geoportal.statistics.gov.uk/)
- [CommunitiesOpenData](https://communitiesopendata-communities.hub.arcgis.com/)
- [PlanetOSM](https://planet.openstreetmap.org/) for open street map POI
- [TFL api](https://api-portal.tfl.gov.uk/signin)
- [EPC](https://epc.opendatacommunities.org/login) - <https://epc.opendatacommunities.org/downloads/domestic>

rightmove:
curl '<https://www.rightmove.co.uk/api/property-search/listing/search?searchLocation=E14&useLocationIdentifier=true&locationIdentifier=OUTCODE%5E749&buy=For+sale&radius=20.0&_includeSSTC=on&index=0&sortType=2&channel=BUY&transactionType=BUY>'

curl '<https://www.onthemarket.com/async/search/properties-v2/?search-type=for-sale&location-id=e13&view=map-list>'
