We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dac33d0 commit e9428beCopy full SHA for e9428be
3_GETDATA/Getting and Cleaning Data Course Notes.Rmd
@@ -63,7 +63,7 @@ $\pagebreak$
63
* ***Relative***: `setwd("./data")`, `setwd("../")` = move up in directory
64
* ***Absolute***: `setwd("/User/Name/data")`
65
* **Check if file exists and download file**
66
- * `if(!file.exists("data"){dir.create("data")}`
+ * `if(!file.exists("./data")) {dir.create("./data")}`
67
* **Download file**
68
* `download.file(url, destfile= "directory/filname.extension", method = "curl")`
69
* `method = "curl"` [mac only for https]
0 commit comments