Skip to content

Commit

Permalink
Adjust path to downloaded file from WHO
Browse files Browse the repository at this point in the history
  • Loading branch information
nimarafati committed Oct 6, 2023
1 parent 4bd2b1e commit 01dde8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lab_graphics.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ Go to WHO website (http://www.who.int/childgrowth/standards/en/) and find out th
```{r,eval=T}
library(readxl)
uri <- "https://cdn.who.int/media/docs/default-source/child-growth/child-growth-standards/indicators/weight-for-age/tab_wfa_girls_p_0_5.xlsx?sfvrsn=666fe445_7"
local_file_path <- "../wfa_girls_p_0_5.xlsx" ## give the local path of the downloaded file
local_file_path <- "data/wfa_girls_p_0_5.xlsx" ## give the local path of the downloaded file
download.file(url = uri, destfile = local_file_path, mode = "wb")
myData <-read_excel(local_file_path)
```
Expand Down

0 comments on commit 01dde8d

Please sign in to comment.