mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 03:22:00 +02:00
(v1.7.1.9051) updated taxonomy, updated git branch name
This commit is contained in:
@ -99,13 +99,13 @@ To work with R, probably the best option is to use [RStudio](https://www.rstudio
|
||||
|
||||
To import a data file, just click *Import Dataset* in the Environment tab:
|
||||
|
||||

|
||||

|
||||
|
||||
If additional packages are needed, RStudio will ask you if they should be installed on beforehand.
|
||||
|
||||
In the the window that opens, you can define all options (parameters) that should be used for import and you're ready to go:
|
||||
|
||||

|
||||

|
||||
|
||||
If you want named variables to be imported as factors so it resembles SPSS more, use `as_factor()`.
|
||||
|
||||
|
@ -38,7 +38,7 @@ download_txt <- function(filename) {
|
||||
msg <- paste0("It was last updated on ",
|
||||
trimws(format(file.mtime(paste0("../data/", filename, ".rda")), "%e %B %Y %H:%M:%S %Z", tz = "UTC")),
|
||||
". Find more info about the structure of this data set [here](https://msberends.github.io/AMR/reference/", ifelse(filename == "antivirals", "antibiotics", filename), ".html).\n")
|
||||
github_base <- "https://github.com/msberends/AMR/raw/master/data-raw/"
|
||||
github_base <- "https://github.com/msberends/AMR/raw/main/data-raw/"
|
||||
filename <- paste0("../data-raw/", filename)
|
||||
txt <- paste0(filename, ".txt")
|
||||
rds <- paste0(filename, ".rds")
|
||||
|
Reference in New Issue
Block a user