Skip to content

why does the value are all “NA” with using read_csv function, while it is right with using read.csv function #1576

@Chinesedoctor

Description

@Chinesedoctor

Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on https://stackoverflow.com/ or https://community.rstudio.com/.

Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.

Brief description of the problem
I read a csv file using the read_csv function, but all the values of the EV100/CI variable become null in the reading result, while using the read.csv function reads the file,the values are right. I have uploaded my data file, a csv format file,as an attachment.

# insert reprex here
dd<- read_csv("C:\\Users\\rootdata\\17.csv")
View(dd)
#while using the read.csv function can get right values.
ddt<- read.csv("C:\\Users\\rootdata\\17.csv")
View(ddt)

17.csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions