Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 52f6240 + e9428be commit 7e357e6Copy full SHA for 7e357e6
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