nptscot / npt

Data processing code, also use this repo for issue tracking for the Network Planning Tool. See https://nptscot.github.io for development version
https://www.npt.scot/
GNU Affero General Public License v3.0
5 stars 0 forks source link

poi weights #500

Open joeytalbot opened 2 weeks ago

joeytalbot commented 2 weeks ago

Looks like a great starter for 10. Any ideas of data on n. trips to supermarkets vs different trip attractors? Would assume that supermarkets, which are open most of the time, would generate more trips than markets, for example.

Both will vary hugely. There will be more trips to Kirkgate Market than to a random Sainsburys. But other markets could be small.

Robinlovelace commented 2 weeks ago

Are there any ways to estimate the size of supermarkets/markets I wonder? Cc @dabreegster who has thought about this for A/B Street demand model, any suggestions very welcome.

dabreegster commented 2 weeks ago

https://github.com/arup-group/osmox might have ideas. I've never tried this, but always wondered about using building footprint's area along with some local knowledge of different chains/brands. Interested if y'all find anything useful!

Robinlovelace commented 2 weeks ago

I think building footprint should be quick win.

joeytalbot commented 1 week ago

POIs from categories given weight > 1: poi weights edinburgh

Robinlovelace commented 1 week ago

Error message:

✖ errored target od_leisure
✖ errored pipeline [4.001 seconds]
Error:
! Error running targets::tar_make()
Error messages: targets::tar_meta(fields = error, complete_only = TRUE)
Debugging guide: https://books.ropensci.org/targets/debugging.html
How to ask for help: https://books.ropensci.org/targets/help.html
Last error message:
    ℹ In argument: `poi_weights = case_when(...)`.
Caused by error in `case_when()`:
! Failed to evaluate the left-hand side of formula 1.
Caused by error:
! object 'classname' not found
Robinlovelace commented 1 week ago

Debugging code below: