Skip to content

Commit

Permalink
turned off progress indication for fread for neonet/b
Browse files Browse the repository at this point in the history
  • Loading branch information
nevrome committed Dec 19, 2023
1 parent 92a651e commit df08d27
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion R/get_neonet.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ get_neonet <- function(db_url = get_db_url("neonet")) {

check_connection_to_url(db_url)

c14dates <- data.table::fread(db_url, na.strings = c("n/d", "n/a"))
c14dates <- data.table::fread(
db_url,
na.strings = c("n/d", "n/a"),
colClasses = "character",
showProgress = FALSE
)

neonet <- c14dates %>%
dplyr::transmute(
Expand Down
7 changes: 6 additions & 1 deletion R/get_neonetb.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ get_neonetb <- function(db_url = get_db_url("neonetb")) {

check_connection_to_url(db_url)

c14dates <- data.table::fread(db_url, na.strings = c("NA","n/a","n/d"))
c14dates <- data.table::fread(
db_url,
na.strings = c("NA","n/a","n/d"),
colClasses = "character",
showProgress = FALSE
)

neonetb <- c14dates %>%
dplyr::transmute(
Expand Down

0 comments on commit df08d27

Please sign in to comment.