Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Jul 18, 2024
2 parents 4a3acbf + 8914462 commit 724bc4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-raw/adult_build.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Adult data https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data

adult = read.csv('https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data',
na.strings = "?", fill = F, strip.white = T)
na.strings = "?", fill = FALSE, strip.white = TRUE, header = FALSE)

colnames(adult) = c('age',
'workclass',
Expand All @@ -20,4 +20,4 @@ colnames(adult) = c('age',
'native_country',
'income')

devtools::use_data(adult, overwrite = TRUE)
usethis::use_data(adult, overwrite = TRUE)
Binary file modified data/adult.rda
Binary file not shown.

0 comments on commit 724bc4e

Please sign in to comment.