nptscot / npw

https://nptscot.github.io/npw/
Apache License 2.0
0 stars 0 forks source link

Metric: % of high NPT routes coverage #11

Open dabreegster opened 1 month ago

dabreegster commented 1 month ago
dabreegster commented 1 month ago

To calculate this one, we need zone-based OD data to plug in. I've started by using https://raw.githubusercontent.com/nptscot/npt/main/data-raw/od_subset.csv from an od2net example, but this is just sample data. @Robinlovelace, can we start figuring out the supply of OD data?

Robinlovelace commented 1 month ago

Sure, can provide.

Robinlovelace commented 1 month ago

First thing to say: we're using a commissioned DataZone-DataZone level version of the OD data: https://vscode.dev/github/nptscot/npt/blob/test-chunk_run_pr/code/prep_commute_data.R#L12-L13

We can use MSOA as a fallback:

Robinlovelace commented 1 month ago

Just trying to find the OD data..

Robinlovelace commented 1 month ago

Here you go: https://github.com/nptscot/inputdata/releases/download/v1/desire_lines_scotland.csv

Robinlovelace commented 1 month ago

These are IZ-IZ flows with Euclidean distance of less than 30km.

IZ info: https://spatialdata.gov.scot/geonetwork/srv/api/records/389787c0-697d-4824-9ca9-9ce8cb79d6f5

Robinlovelace commented 1 month ago

We do need to create an open all-purpose OD dataset at some point but that's a good starter and unblocks this issue, right?

dabreegster commented 1 month ago

Thanks, this looks perfect to start, yes