tc_geom_format: tc_geom_format

Description Usage Arguments Value Examples

View source: R/tc_geom_format.R

Description

This function format, subsets, and mutates The Tropical Cyclone Extended Best Track Dataset that has been read using the reading_tropical_cyclone function. It returns one row per wind_speed, per Storm Observation. Individual Storm observations ae characterized by their wind_radius (per direction), and storm metadata.

Usage

1
tc_geom_format(dataset)

Arguments

dataset

A dataframe object. Must be read using the reading_tropical_cyclone function, or share the same format as data read that way.

Value

This function returns a Data Frame object of The Tropical Cyclone Extended Best Track Dataset, formatted down to N rows per Storm Observation (Where N represents each available wind_speed).

Examples

1
2
3
4
5
6
7
8
## Not run: 

## Reading Dataset
data_tc <- reading_tropical_cyclone(filename = "data/ebtrk_atlc_1988_2015.txt")
ext_tracks <- tc_geom_format(data_tc) # Formatting


## End(Not run)

ronybsulca/rsGeoms documentation built on May 27, 2019, 1:45 p.m.