data.prep.R 753 Bytes
Newer Older
1 2
require(vegan)

3 4 5 6 7
bacteria <- read.csv("data-raw/bacteria.csv",
  header = TRUE,
  row.names = 1,
  na.strings = "NA"
)
8

9 10 11 12 13
eukaryotes <- read.csv("data-raw/eukaryotes.csv",
  header = TRUE,
  row.names = 1,
  na.strings = "NA"
)
14

15 16 17 18 19
climat <- read.csv("data-raw/climat.csv",
  header = TRUE,
  row.names = 1,
  na.strings = "NA"
)
20

21 22 23 24 25
soil <- read.csv("data-raw/soil.csv",
  header = TRUE,
  row.names = 1,
  na.strings = "NA"
)
26

27 28 29 30 31
geography <- read.csv("data-raw/geography.csv",
  header = TRUE,
  row.names = 1,
  na.strings = "NA"
)
32

33 34 35 36 37 38
usethis::use_data(bacteria, overwrite = TRUE)
usethis::use_data(eukaryotes, overwrite = TRUE)
usethis::use_data(climat, overwrite = TRUE)
usethis::use_data(soil, overwrite = TRUE)
usethis::use_data(geography, overwrite = TRUE)