You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is my impression that one should be able to teach more or less directly the R-ecology-lessons. This is not a problem for lesson 00 - 05. However, it is a bit more difficult for lesson 06 "R and SQL", because the requirement of specific files:
In lesson 06 (SQL databases and R) , under the section "Connecting R to sqlite database" there is the following R-script:
## Set dbname and driver out of conveniencemyDB<-"data/portal_mammals.sqlite"conn<- dbConnect(drv= SQLite(), dbname=myDB)
There is however no earlier mention for downloading the file "portal_mammals.sqlite".
I therefore suggest that lesson 06 be updated, by taking into use the download.file() function:
## download mammals database to data folder.
download.file("https://ndownloader.figshare.com/files/2292171", "data/portal_mammals.sqlite")
It is my impression that one should be able to teach more or less directly the R-ecology-lessons. This is not a problem for lesson 00 - 05. However, it is a bit more difficult for lesson 06 "R and SQL", because the requirement of specific files:
In lesson 06 (SQL databases and R) , under the section "Connecting R to sqlite database" there is the following R-script:
There is however no earlier mention for downloading the file
"portal_mammals.sqlite"
.I therefore suggest that lesson 06 be updated, by taking into use the
download.file()
function:PS: All the file can be downloaded from http://dx.doi.org/10.6084/m9.figshare.1314459.
The text was updated successfully, but these errors were encountered: