How can I import a SQLite database from a GitHub repository into my R environment?
If I have a SQLite database on my local hard I can do the following, I would like to generalize this to SQLite DB's stored on GitHub:
library("RSQLite")
db <- dbConnect(SQLite(), dbname="/path_to_file/database.sqlite")
dbListTables(db)
players<- dbGetQuery( db,'
select column1
from table1
' )
An example of a link I'd want to import is the following: https://github.com/cmohamma/jeopardy
In case it's not possible to load a SQLite db into memory from a network connection, I'd like to at least know how to download it to disk via command line interface.
I tried accessing the repository via RSelenium but I can't figure out how to get the browser (Chrome) to download anything from GitHub - I can navigate to the file in the repository but I can't identify the download button.