Closed AmyMikhail closed 5 months ago
Update:
After edits, the following is now improved:
But: column names are missing because the app quits before allowing selection of the columns from the shapefile that hold the region names and codes:
Warning: Error in evalAll: attempt to apply non-function
1: runApp
although coordinates are longitude/latitude, st_contains assumes that they are
planar
Warning: Error in mutate: ℹ In argument: `Region = get_region(...)`.
ℹ In row 1.
Caused by error in `all_of()`:
! Can't subset columns.
✖ Subscript can't contain the empty string.
✖ It has an empty string at location 1.
1: runApp
This issue is resolved in the AI-generated version.
Problem statement:
After the interactive table is populated with coordinates and a shapefile is selected, in order to get the intersect for the shapefile regions and selected coordinates and add the regions to the table, the table first has to be converted to an sf object. This is failing with the following error:
Proposed solution:
Need to work out how to convert the interactive table to a data.frame before this step, then convert it back to an interactive table?