col_types: This function allows you to get col_types when using 'readr'...

col_typesR Documentation

This function allows you to get col_types when using 'readr' package for functions like 'read_csv()' with the argument 'col_types=' c = character, i = integer, n = number, d = double, l = logical, f = factor, D = date, T = date time, t = time, ? = guess, or _/- to skip the column

Description

This function allows you to get col_types when using 'readr' package for functions like 'read_csv()' with the argument 'col_types=' c = character, i = integer, n = number, d = double, l = logical, f = factor, D = date, T = date time, t = time, ? = guess, or _/- to skip the column

Usage

col_types(type = "c")

Examples

readr::read_csv("http://samplecsvs.s3.amazonaws.com/Sacramentorealestatetransactions.csv", col_types=col_types('c'))
col_types(type="c") 

srhoads/srhoads documentation built on Oct. 19, 2024, 11:52 p.m.