Skip to content

A shiny app to plot a map of Australia with points highlighted on it

License

Notifications You must be signed in to change notification settings

rogerssam/ausmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Australia Map Data Plotter

A responsive R Shiny web application for visualizing spatial data points on a map of Australia.

Features

  • File Upload: Import data from CSV or Excel (XLS/XLSX) files
  • Mobile-Friendly: Responsive HTML5 design that works on all devices
  • Interactive Mapping: Visualize point data with customizable options
  • Flexible Data Handling:
    • Dynamic column selection
    • Support for both numeric and categorical variables
    • Data validation and error handling

Requirements

  • R (>= 4.0.0)
  • Required R packages:
    • shiny
    • leaflet
    • readxl
    • readr
    • dplyr
    • DT
    • shinyjs
    • shinydashboard
    • shinythemes
    • shinyWidgets
    • sf

Installation

# Install required packages
install.packages(c("shiny", "leaflet", "readxl", "readr", "dplyr", 
                  "DT", "shinyjs", "shinydashboard", "shinythemes",
                  "shinyWidgets", "sf"))

Usage

Visit https://biometryhub.shinyapps.io/ausmap/ for a live version, or alternatively, follow the steps below:

  1. Clone this repository or download the app.R file
  2. Open R or RStudio and set your working directory to the folder containing app.R
  3. Run the following command:
shiny::runApp()
  1. Upload your CSV or Excel file with latitude and longitude data
  2. Select the appropriate columns using the dropdown menus
  3. Click "Plot Data" to visualize your points on the map

Data Format

Your data should include at minimum:

  • A column for latitude values (numeric, in decimal degrees)
  • A column for longitude values (numeric, in decimal degrees)
  • Optional additional columns for colouring or faceting

Screenshots

image

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

A shiny app to plot a map of Australia with points highlighted on it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages