The main addition here is enabling users to upload their own shape files to plot custom geometry in the app. At the moment, this supports geojson and json formats, which are read in using the sf package.
After reading in the geometry, the app generates a template for you to fill in based on codes specified by dropdown menus in the app.
Also added a switch to generate some fake data to populate the template - this was mainly for quick testing so could be removed if not useful in general.
Also added some potential fixes for deployment:
Dependence on markdown package (odd bug with renv)
Try using webshot2 package instead of webshot, to see if this can work on Posit Connect
The main addition here is enabling users to upload their own shape files to plot custom geometry in the app. At the moment, this supports geojson and json formats, which are read in using the
sf
package.After reading in the geometry, the app generates a template for you to fill in based on codes specified by dropdown menus in the app.
Also added a switch to generate some fake data to populate the template - this was mainly for quick testing so could be removed if not useful in general.
Also added some potential fixes for deployment: