Hello All,
I am working on my first data analysis project and not familiar with everything yet, I hope you would be able to help with my question. I am working with BellaBeat Dataset from Kaggle and wanted to do some data cleaning.
I run install.packages and library functions for all packages needed. Currently I am trying to run basic pipe function and I receive a message: Error in clean_names(.) : could not find function "clean_names". If I remove this function from the pipe, it gives me error for different line with the same error message. I researched online and in R Community and it looks like it could be issue with not reading libraries properly. I tried to re-install everything, however I am receiving the same message. I tried to run basic function without pipe, however it didn't recognize the column names which I copy pasted from the table.
my query:
install.packages("tidyverse")
library(tidyverse)
head(daily_activity)
str(daily_activity)
install.packages("here")
library(here)
install.packages("skimr")
library(skimr)
install.packages("janitor")
library(janitor)
install.packages("dplyr")
library(dplyr)
glimpse(daily_activity)
str(daily_activity)
install.packages("lubridate")
library(lubridate)
install.packages("tidyr")
library(tidyr)
head(daily_activity)
Daily <- daily_activity %>%
clean_names() %>%
mutate(ActivityDate=mdy(ActivityDate)) %>%
rename(ActivityDate=Date, TotalSteps=Steps) %>%
select(-c(5:10))
project link: RStudio Cloud
Any advise would be appreciated.
Thank you,
Valeryia