sqlite - R Shiny - unable to find an inherited method for function ‘dbGetQuery’ -
why keep getting error below,
unable find inherited method function ‘dbgetquery’ signature ‘"sqliteconnection", "data.frame"’
for,
# fetch site names. sitequery <- dbgetquery(db, "select nid, title, description nodes datatype = 'speck' , visible = '1' , nid = 'site' ") # match pattern , replace it. sitequery <- sub("site", as.character(site1), sitequery) # store result in data. sitedata = dbgetquery(db, sitequery)
is error in sqlite query or in r script? ideas how can fix this?
# fetch site. sitequery <- "select nid, title, description nodes datatype = 'speck' , visible = '1' , nid = 'site' " # match pattern , replace it. sitequery <- sub("site", as.character(site1), sitequery) # store result in data. sitedata = dbgetquery(db, sitequery)
Comments
Post a Comment