0
I am designing an SQL database that will have tables that store collected data and a table that stores calculated indexes of this data to be later exposed on a Dashboard. I intend to calculate these indexes with the language R. I would like to know two things:
1 - How do I pull data from my SQL data tables to R to perform the calculations?
2 - How do I store the results of my calculations in R in my SQL table of indexes?
Look here: https://github.com/rstats-db/RMySQL
– Daniel Falbel
Which database system are you using? you need to know if there is a driver for the system you are using. If the driver exists, just look at the documentation how to make updates with it, or rewrite tables with it. The dplyr people did a backend where they could do manipulations with dplyr itself, using a database from behind. It might be nice to take a look. But it depends on your system and the existence of a driver.
– Guilherme Marthe
In linux I am testing in Mysql and in Windows I am using SQL Server 2016.
– Bruno Rigueti