read_specs.Rd
read in specs dataframe
read_specs( path, year, range = "A5:L91", col_names = c("species", "area", "0ofl", "0abc", "0tac", "0catch", "1ofl", "1abc", "1tac", "1catch", "2ofl", "2abc"), col_types = c("text", "text", rep("numeric", 10)) )
location of file
current year
the range of cells to include from the spreadsheet default:A5:L91
specify names of all columns included
specify column types of all columns included
if (FALSE) { read_specs('data/goa_specs2022.xlxs', col_names = c("species", "area", "0ofl", "0abc", "0tac", "0catch", "1ofl", "1abc", "1tac", "1catch", "2ofl", "2abc"), col_types = c("text", "text", rep("numeric", 10))) }