clean_storm_data: Clean storm dataset

Description Usage Arguments Value

View source: R/adjust.R

Description

Cleans the storm dataset to prepare for further processing. This includes changing all variable names to lowercase, removing some unneeded columns, and removing the narratives if requested by the user.

Usage

1
clean_storm_data(storm_data, include_narratives)

Arguments

storm_data

A dataset of storm data. This dataset must include certain columns given in the NOAA Storm Events datasets for which this package was created.

include_narratives

A logical value for whether the final data data frame should include columns for episode and event narratives (TRUE) or not (FALSE, the default)

Value

A cleaned version of the dataset input to the function.


noaastormevents documentation built on Jan. 21, 2021, 5:11 p.m.