Skip to content

Commit

Permalink
Remove readr dep from helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
dfsnow committed Dec 5, 2023
1 parent 0f66e0a commit fe5a790
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ model_file_dict <- function(run_id = NULL, year = NULL) {
suppressPackageStartupMessages(library(magrittr))

# Convert flat dictionary file to nested list
dict <- readr::read_csv(
dict <- read.csv(
here::here("misc", "file_dict.csv"),
col_types = readr::cols()
colClasses = c("character", "character", "numeric", rep("character", 11)),
na.strings = ""
) %>%
dplyr::mutate(
s3 = as.character(purrr::map_if(
Expand Down

0 comments on commit fe5a790

Please sign in to comment.