[R] tidyverse: read_csv() misses column

Rich Shepard r@hep@rd @end|ng |rom @pp|-eco@y@@com
Mon Nov 1 19:01:51 CET 2021


On Mon, 1 Nov 2021, Jeff Newmiller wrote:

> Sorry... untested code... use which... not where.

Jeff,

That problem's resolved; problems() found the lines.

Question:

> cor_disc
# A tibble: 415,263 × 8
    site_nbr  year mon   day   hr    min   tz     disc
    <chr>    <dbl> <chr> <chr> <chr> <chr> <chr> <dbl>
  1 14171600  2009 10    23    00    00    PDT    8750

While not seen in this message, the 2 in year and the 8 in disc are
underlined. Why is that? I assume it indicates the value is numeric but I
defined the type for each column as "c" and "i", respectively.

Regards,

Rich



More information about the R-help mailing list