process_input_args {noaastormevents} | R Documentation |
Process inputs to main functions
Description
Processes some of the user's inputs for arguments for main package functions, looks for any errors in input, and determines elements like the year or years of storm data needed based on user inputs.
Usage
process_input_args(date_range = NULL, storm = NULL)
Arguments
date_range |
A character vector of length two with the start and end
dates to pull data for (e.g., |
storm |
A character string with the name of the storm to pull storm
events data for. This string must follow the format
"[storm-name]-[4-digit storm year]" (e.g., |
Value
A list with date ranges and storm identification based on user inputs to arguments in a main package function.
[Package noaastormevents version 0.2.0 Index]