1

I have a csv file where data is getting generated for every 15 mins. I need R programming to use reactivefilereader function to identify latest data feed and update automatically.

But what is the problem with the code below ?

library(readr)
housing <- read_csv("C:/Users/KTPani/Desktop/CD/housing.csv")

function(input, output, session) {
  housing <- reactiveFileReader(9000, session, 'housing.csv', read.csv)

  output$data <- renderTable({
    housing()})}

View(housing)
Steve Lee
  • 786
  • 3
  • 10
Mr.KT
  • 23
  • 6

0 Answers0