read_dataset: Read an input file source

View source: R/io.R

read_datasetR Documentation

Read an input file source

Description

Read an input file source

Usage

read_dataset(
  filename = system.file("exdata/fake_data.csv.gz", package = "calanusthreshold"),
  drop_vars = c("station", "latitude", "longitude", "siconc", "sithick", "geometry"),
  na.rm = TRUE
)

Arguments

filename

character, the file to read. The default is to read a dummy example data file.

drop_vars

character or NULL, variables (columns) to drop from input

na.rm

logical, if TRUE drop any cases (rows) with one or more missing values

Value

tibble or simple feature


BigelowLab/calanusthreshold documentation built on May 12, 2022, 5:06 a.m.