-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
42 lines (30 loc) · 1.29 KB
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
library(shiny)
# Define UI for dataset viewer application
shinyUI(fluidPage(
# Application title.
titlePanel("First Appearances Calculator"),
sidebarLayout(
sidebarPanel(
img(src ="firstApp_logo.png",height=120,width=120),
h4("Find the oldest representative of a group, based on data from the Paleobiology Database"),
textInput("taxon", "Enter a taxon name:","Omaliinae"),
helpText("Warning: large taxonomic groups may require
a few seconds (or more) to load."),
submitButton("Submit"),
h5("If you use this information in a publication, please acknowledge the Paleobiology Database"),
h6("Comments or suggestions? Email [email protected]"),
a("https://github.com/mclapham/firstAppearances")
),
mainPanel(
tabsetPanel(type = "tabs",
tabPanel("Plot", plotOutput("plot"),
downloadButton("downloadData", "Download occurrences")
),
tabPanel("Table", h3("Oldest occurrences"),
tableOutput("table1"),
h3("Oldest occurrences of classified species"),
tableOutput("table2"))
)
)
)
))