mpjashby/crimemapping

Add table of functions for opening different types of data

Closed this issue · 2 comments

In addition to #67, add a table (with a downloadable PDF version) that lists which functions to use for opening different types of file.

In each case, list the function, the package it comes from (and whether that function is loaded by library(tidyverse)) and which types of file it will open.

Include read_csv(), read_excel(), read_tsv(), read_csv2(), read_sf()/st_read(), even though some of these functions aren't explained in detail until later tutorials.

It may also be worth including a column or a footnote explaining that base::read.csv() and related functions shouldn't be used because (a) they can't handle remote files, (b) they can't handle gzipped files and (c) they use stringsAsFactors = TRUE by default.

This is implemented as an appendix to the book version of the course, which can be linked to from Tutorial 2.

This was implemented in 2024 and can be closed.