Skip to content

Instantly share code, notes, and snippets.

@azadag
Last active March 1, 2023 18:08
Show Gist options
  • Save azadag/7e24bb2bda1cebfd49dbedc951c0fafa to your computer and use it in GitHub Desktop.
Save azadag/7e24bb2bda1cebfd49dbedc951c0fafa to your computer and use it in GitHub Desktop.
read_csv ("test.csv", col_names=FALSE, col_types = cols(.default = "c", time = "i"))
# This should set the default type for all columns as character, while time would be parsed as integer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment