data-raw/construction.R

library(readr)
library(dplyr)

construction <- as_tibble(read_csv(
  "data-raw/construction.csv",
  col_types = list()
))

construction <- construction %>%
  select(-Total) %>%
  filter(Year == 2018)

usethis::use_data(construction, overwrite = TRUE)
hadley/tidyr documentation built on March 4, 2025, 11:10 p.m.