Skip to content

Commit

Permalink
attempt to fix bug with R 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
silberzwiebel committed May 26, 2018
1 parent 46b007b commit 5c67497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/02_cars_to_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ process_df <- function(df) {
# shift header left and remove last column
if (!is.na(colnames(df)[26])) {
colnames(df) <-
colnames(df) %>%
c(colnames(df), "NA") %>%
tail(-1)
assert_that(df %>% dplyr::select(26) %>% is.na %>% all)
df <-
Expand All @@ -22,7 +22,7 @@ process_df <- function(df) {
}

# DATE
# identify date from first column lable
# identify date from first column label
date <-
df %>%
colnames %>%
Expand Down

0 comments on commit 5c67497

Please sign in to comment.