Skip to content

lmullany/spline_cluster_detector_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spline-Based Cluster Detection Shiny App

Description

An R Shiny app for visualizing the spline-based cluster classification/detection approach.

Credentials

While the app will work with a local file upload option, Rnssp credentials are required to use the API version. Options include:

  1. Saving an rds file with credentials locally, and loading that file when asked
  2. Entering credentials via username and password when asked (i.e. within app when api request is made)
  3. Reading an rds file within a project-level .Rprofile file, to bypass the request for credentials each time the app is launched. To do this:
saveRDS(Rnssp::create_profile(), file="rnssp_creds.rds")

and then create the .Rprofile file within the root of this repo

myProfile <- readRDS("rnssp_creds.rds")

Requirements

Requires the following libraries

library(shiny)
library(cli)
library(geosphere)
library(data.table)
library(bslib)
library(bsicons)
library(DT)
library(ggplot2)
library(leaflet)
library(leaflet.extras)
library(tigris)
library(sf)
library(shinyjs)
library(shinycssloaders)
library(Rnssp)
library(plotly)
library(kableExtra)

Note: a common error regarding tabset construction will be raised if bslib package version is not updated to at least 0.9.0 (or higher)

Launch the app:

The easiest way to launch the app is to run:

shiny::runGitHub("lmullany/spline_cluster_detector_app").

Note that the above required packages must be first installed (and updated to latest versions) in order to run this app

Contacts:

Copyright

© 2024 The Johns Hopkins University Applied Physics Laboratory LLC.

Development of this software was sponsored by the U.S. Government under contract no. 75D30124C19958

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published