Skip to content

Commit

Permalink
prevent messaging in wt_download_report()
Browse files Browse the repository at this point in the history
  • Loading branch information
agmacpha committed Jan 10, 2024
1 parent bcc0233 commit 027f29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/api.R
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ wt_download_report <- function(project_id, sensor_id, reports, weather_cols = TR
# List data files, read into R as a list
files <- gsub(".csv", "", list.files(td, pattern = ".csv", recursive = TRUE))
files.full <- list.files(td, pattern = ".csv", full.names = TRUE, recursive = TRUE)
x <- purrr::map(.x = files.full, .f = ~ readr::read_csv(.)) %>%
x <- purrr::map(.x = files.full, .f = ~ readr::read_csv(., show_col_types = F, skip_empty_rows = T)) %>%
purrr::set_names(files)

# Remove weather columns, if desired
Expand Down

0 comments on commit 027f29f

Please sign in to comment.