-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
26 lines (22 loc) · 930 Bytes
/
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
fluidPage(
# include google analytics
tags$head(includeScript("google-analytics.js")),
# Application title
titlePanel("Are your wages keeping up with inflation?"),
# User Input
sidebarLayout(
sidebarPanel(
numericInput("wage", label = "Enter your base annual salary", value = 75000),
helpText('Data sourced from',
a("RBA.gov.au", href='http://www.rba.gov.au/inflation/measures-cpi.html'),
'+',
a('treasury.gov.au', href='http://www.treasury.gov.au/PublicationsAndMedia/Publications/2016/PEFO-2016/HTML/Economic-outlook')),
helpText(a('Code and Methodology', href='https://github.com/ucg8j/wage_inflation_calculator'))
),
# Outputs
mainPanel(
plotlyOutput("main_plot"),
textOutput('inflate_txt'), br(),
tableOutput("time_series")
)
))