I am new to r-programming and recently completed the Google Analytics Course through my job. To complete the final part of the course (CAPSTONE) project, my company have decided to give us small projects that can showcase what we have learned. I was recently given my project and am creating a dashboard. I have been so happy with the progress I've made. Watching videos and reading sites like this has been invaluable. With that said, I have run into a snag I just can't seem to figure out. On my .sidebar I have a drop down state list and a dateRangeinput box. I would like to include a drop down list of 7 data types that displays and allows the user to make a choice which then appears in the box.
I've watch quite a few videos and lots of reading but can't piece this one together. I see lots of info about ui, servers and an existing csv file or ref to a site. Here is what I have written, it won't execute. It is throwing an error message of:
selectInput("datatype", strong(“Data Type”), c(“Financial Data”, “Unit Statistical Data”, “Policy Data”, “Medical Data”, “Indemnity Data”, “Detailed Claim Information (DCI)”, “Virginia Only”)
Error: unexpected symbol in "selectInput("datatype", strong(\u201cData"
Here is my code starting at the top and a little pass the line where I am getting the error. Any help would be much appreciated.
title: "CRC Report Card" runtime: shiny output: flexdashboard::flex_dashboard: orientation: rows vertical_layout: fill source_code: embed
library(flexdashboard)
Dashboard
Column {.sidebar data-width=300}
Search
selectInput("dummy", strong("Select Month"), choices = month.name)
dateRangeInput("date", strong("Date Range"), start = "NULL", end = "NULL", min = "NULL", max = "NULL")
dateRangeInput(inputId = "date", strong("Data Type"), start = "NULL", end = "NULL", min = "NULL", max = "NULL")
selectInput("datatype", strong(“Data Type”), c(“Financial Data”, “Unit Statistical Data”, “Policy Data”, “Medical Data”, “Indemnity Data”, “Detailed Claim Information (DCI)”, “Virginia Only”)
Column {data-width=700}
Success
valueBox(175, caption = "success", color = "success", icon = "fa-bar-chart", href = "#Summary details")
I have watched instructional videos and read instructional manuals.