Skip to content

Commit

Permalink
fixed eia
Browse files Browse the repository at this point in the history
  • Loading branch information
bbcho committed Oct 1, 2023
1 parent e78e139 commit c14fb94
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 398 deletions.
2 changes: 1 addition & 1 deletion R/Download_RTL_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ for (fn in filenames) {
data <- eval(parse(text=paste0('RTL::',fn)))

tryCatch({
if (fn != "tickers_eia" | fn != "steo") {
if ((fn != "tickers_eia") & (fn != "steo")) {
data <- data %>% dplyr::mutate_if(is.character, ~ str_replace_all(., "[.]", "_")) # remove . from strings
# data <- data %>% dplyr::mutate_if(is.character, ~ str_replace_all(., "[,]", "")) # remove , from strings
}
Expand Down
Loading

0 comments on commit c14fb94

Please sign in to comment.