Closed MattCowgill closed 3 years ago
Also give a quick summary of the way read.csv
, read_csv
and fread
works -- and the downsides of each. (eg read_csv
will default a guess to logical if the first X rows have missing values -> won't read later non-logical observations. Kate had this issue kinda recently.).
Also re project concept: this is an area where that wouldn't really work, AND would be better to provide examples of reading in data that people are likely to read in themselves.
eg
read_csv
read_excel
(maybe two layers of complexity)hes.dta
for haven
obs cover grattandata::read_microdata
.
obvs
Ideas of stuff to cover:
read_csv
>read.csv
(strings as factors, speed)data.table::fread
is fast, useful for very large filesreadxl::read_excel
for Excelrio::import
to make things easy (I like the setclass = "tbl" arg)