From 65b862eb65ea5b4f291c86894b30c8941ab35288 Mon Sep 17 00:00:00 2001 From: David Kane Date: Thu, 25 May 2023 16:51:17 -0400 Subject: [PATCH] Update data-import.qmd (#1506) I think you want "sprinkled," not "speckled." But maybe I am misreading . . . --- data-import.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-import.qmd b/data-import.qmd index 3e1dbbc..d80e542 100644 --- a/data-import.qmd +++ b/data-import.qmd @@ -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: