GBIF-Dataset-Explorer (gde)
R Package to explore datasets from the biodivesity aggregator GBIF.
Once a DwC dataset is loaded, you can explore the issues and data values using a Shiny UI.
Load data from a DwC download
- Install the package:
- Install devtools, if needed:
install.packages("devtools") - Install from Github:
devtools::install_github('Smithsonian/GBIF-Dataset-Explorer')
- Install devtools, if needed:
- Download a DarwinCore zip from GBIF
- Setup a database, currently only for Postgres
- Copy the file
inst/shinyApp/gde_settings.R.templatetogde_settings.Rin the working directory and edit the values - Run the function
gde::load_gbif_dwc(zipfile = "000000.zip", tmpdir = "/tmp/"), editing the values as needed
Run the app locally
After loading the data to the database:
- Copy the file
inst/shinyApp/gde_settings.R.templatetogde_settings.Rin the working directory and edit the values. - Run using:
gde::launchApp()
Serve the shiny app on a server
- Install the package in the server: devtools::install_github('Smithsonian/GBIF-Dataset-Explorer')
- Copy the files in
inst/shinyAppto the server. - Rename the file
gde_settings.R.templatetogde_settings.Rand edit the values.