I want to create a web app using flexdashboard so that people can upload their CSV and see the visualization.
Right now, I am using a R markdown with flexdashboard template. Here is the file upload code.
{r, echo = FALSE}
fileInput("file1", "Choose CSV File",
multiple = TRUE,
accept = c("text/csv",
"text/comma-separated-values,text/plain",
".csv"))
My question is: in this .rmd notebook, how can I access users' uploaded file and read it as dataframe?