load_data: Module 1: Obtain and Clean Data

Description Usage Arguments Value Examples

View source: R/obtain and clean data.R

Description

Take raw data frame and return a clean data frame

Usage

1
load_data(path = file.path("data_raw", "signif.txt"))

Arguments

path

A character string file path to the downloaded source.

Value

Returns a dataframe result after calling readr's read_delim

Examples

1
2
3
4
5
6
## Not run: 
  df <- load_data()
  print(class(df))
  head(df)

## End(Not run)

dannyjwpark/NOAA documentation built on Dec. 31, 2020, 11:11 p.m.