Gist f3b3c7d224f1701a9d7f
✓ Published0🌍 Public
RRCura
Last edited Sep 18, 2014
Created on Sep 18, 2014
This Shiny application lets a user upload a CSV file of XY coordinates, which are then read with the built-in `read.table` function and converted into a spatial points object using `SpatialPointsDataFrame` from the `sp` package. The app renders a basic scatterplot of these points via `plot()` and offers a download button that exports the coordinates as an ESRI Shapefile using `writeOGR` from `rgdal`, zipping the resulting files for delivery. The interface is built with `bootstrapPage` and `fileInput`, and it validates that data has been selected before plotting.
AI-generated description