Unfortunately, it appears we have to restart the user's runtime in order for the notebook to work. That's because restarting the runtime will index a key package - rtree - that we need in order to perform a spatial join between facilities and the unit (town, county, congressional district) they're interested in analyzing. But there has to be a better way than this!
The spatial join itself is really important because for some geographies (towns) we can't do an attribute join. Plus, in doing a spatial join, we avoid mis-geocoded facilities.
Unfortunately, it appears we have to restart the user's runtime in order for the notebook to work. That's because restarting the runtime will index a key package -
rtree
- that we need in order to perform a spatial join between facilities and the unit (town, county, congressional district) they're interested in analyzing. But there has to be a better way than this!