Update data-import.qmd (#1506)

I think you want "sprinkled," not "speckled." But maybe I am misreading . . .
This commit is contained in:
David Kane 2023-05-25 16:51:17 -04:00 committed by GitHub
parent a9d29a02c5
commit 65b862eb65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ read_csv(simple_csv)
```
In this very small case, you can easily see the missing value `.`.
But what happens if you have thousands of rows with only a few missing values represented by `.`s speckled among them?
But what happens if you have thousands of rows with only a few missing values represented by `.`s sprinkled among them?
One approach is to tell readr that `x` is a numeric column, and then see where it fails.
You can do that with the `col_types` argument, which takes a named list where the names match the column names in the CSV file: