urbanbigdatacentre / AccessUK

AccessUK is an R package to easily streamline accessibility measures for Great Britain.
Other
7 stars 1 forks source link

my_accessibility returns LSOA code ID only #10

Closed rafavdz closed 5 months ago

rafavdz commented 5 months ago

The following code returns the LSOA IDs only.

poi <- read_csv('data/geolytix/GEOLYTIX - UK RetailPoints/geolytix_retailpoints_v29_202308.csv')
poi <- poi %>% 
  st_as_sf(coords = c('long_wgs', 'lat_wgs'), crs = 4326)
my_access <- AccessUK:::my_accessibility(poi)

This should include the number of destinations available.

rafavdz commented 5 months ago

The issue was because the code did not include required arguments. #11 makes this explicit in the function.