Skip to content

Commit

Permalink
removing more about tibbles
Browse files Browse the repository at this point in the history
  • Loading branch information
carriewright11 committed Jan 10, 2024
1 parent 7779619 commit 1eba1fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/Subsetting_Data_in_R/Subsetting_Data_in_R.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,7 @@ clean_names(test)

- data frames are simpler version of a data table
- tibbles are fancier `tidyverse` version
- data frames are made with `data.frames()` and `read.csv()`
- tibbles are made with `tibble()` and `read_csv()` from `readr`
- tibbles are made with `tibble()`
- if your original data has rownames, you need to use `rownames_to_column` before converting to tibble
- the `rename()` function of `dplyr` can help you rename columns
- avoid using punctuation (except underscores), spaces, and numbers (to start or alone) in column names
Expand Down

0 comments on commit 1eba1fe

Please sign in to comment.