A minimal Shiny application to demonstrate EDS services, using the Amundsen Sea Low Index as a case study.
This application reads in data from the JASMIN Object Store, generated from the ASLI BOOST-EDS pipeline, which is deployed on JASMIN.
This application is deployed on Datalabs, but has been written to allow deployment elsewhere.
You can install the development version of asliapp
:
remotes::install("antarctica/asliapp")
If you want to run the app locally:
devtools::load_all()
run_app()
This packages uses renv
, which should automatically bootstrap itself on installation. When this is complete, use renv::restore()
to set up your environment, see [collaborating with renv](https://rstudio.github.io/renv/articles/collaborating.html#:~:text=We%20recommend%20using%20a%20version,via%20renv%3A%3Ainit()%20.) for more.
To read in data on the JASMIN object store (or any other object store), you must have valid user credentials. These are associated with your JASMIN account, and will be in the form of 2 string: an Access Key and a Secret Key. These should be kept securely.
It is recommended to keep these in an .Renviron
file, which you can generate one using usethis::edit_r_environ(scope = "project")
. A template .Renviron
file (example.app.env
) is provided in this repository.
To host this application on Datalabs, you can clone this repository to a notebook:
<your-notebook-name>
which you provide under 'URL Name'. Set access to Private!<your-project-name
>.renv::restore()
as per the instructions under Installation..Renviron
file and populate it using the same structure as the example.app.env
template, as per the instructions under Configuration. Note that scope = "project"
ensures it appears in the right directory.readRenviron(".Renviron")
before you 'Run App' or in the console runApp('~/<your-project-name>')
.notebooks/rstudio-<your-notebook-name>/<your-project-name>
. It should now be hosted on https://ditbas-<yourprojectname>.datalabs.ceh.ac.uk/
.This work used JASMIN, the UK’s collaborative data analysis environment (https://www.jasmin.ac.uk).
Lawrence, B. N. , Bennett, V. L., Churchill, J., Juckes, M., Kershaw, P., Pascoe, S., Pepler, S., Pritchard, M. and Stephens, A. (2013) Storing and manipulating environmental big data with JASMIN. In: IEEE Big Data, October 6-9, 2013, San Francisco.