Home > OS >  data messed up when I imported the CSV file
data messed up when I imported the CSV file

Time:02-15

When I imported my csv file to Rstudio, it messed up. I can't upload pictures, so the link below is the pictures. https://drive.google.com/file/d/1FYjGArelMFnCz5Bkeq0vr3sFFL2oLkcT/view?usp=sharing https://drive.google.com/file/d/1aZnZfcWvzRK_gv6dlLha-A1G46k6Ic39/view?usp=sharing

library(tidyverse)
absenteeism = read_csv("/Users/angela/Desktop/Absenteeism_at_work.csv")

CodePudding user response:

try this:

absenteeism <- read_delim("Absenteeism_at_work.csv", delim = ";")

  •  Tags:  
  • r
  • Related