# You can simply return the below for default values
library(dplyr)
BeeBDC::ColTypeR()
# To add new columns you can write
ColTypeR(newCharacterColumn = readr::col_character(),
newNumericColumn = readr::col_integer(),
newLogicalColumn = readr::col_logical())
# Try reading in one of the test datasets as an example:
beesFlagged %>% dplyr::as_tibble(col_types = BeeBDC::ColTypeR())
# OR
beesRaw %>% dplyr::as_tibble(col_types = BeeBDC::ColTypeR())
Run the code above in your browser using DataLab