Description Usage Arguments Value
View source: R/read_ext_tracks.R
This function is set to read in extended tracks hurricane data from Colorad
State NHC data compilation. This is simply a shell for readr::read_fwf()
with defaults set for the current data convenctions. Currently data is in a
fixed with format and this function is dependent on that form.
1 2 |
file |
this is the filename (including path if necessary) to the txt file containing the hurricane data. |
... |
This can be used to pass alternative arguments to |
widths |
This is a numeric vector of column widths for the fixed width file. The default is set to the current convention. |
colnames |
This is a character vector of column names we wish to apply to the data being read in. The assumption is that there are no column names in the text file being read in. The default represents current convention. |
degW |
This stands for "degrees West" and is a logical representing if the text file data is coded such that the latitude is stated as "degrees West" and thus be strictly positive. If TRUE (the default) the read in procedure will transform the data by flipping the sign so that latitude is in universal coordinates (like a number line). There is no corresponding argument for the longitude as hurricanes are only being track for the northern hemisphere (always positive). |
data returned per specifications in readr::fwf. By default this is a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.