[R] tidyverse: read_csv() misses column

Rich Shepard r@hep@rd @end|ng |rom @pp|-eco@y@@com
Tue Nov 2 14:14:56 CET 2021


On Tue, 2 Nov 2021, Ivan Krylov wrote:

> That's because mutate() doesn't, well, mutate its argument. It _returns_
> its changes, but it doesn't save them in the original variable. It's your
> responsibility to assign the result somewhere:

Ivan,

I realized this after thinking more about the issue.

By putting all tibble columns in the select stanza the sampdate column was
added to the tibble.

Thanks very much,

Rich



More information about the R-help mailing list