Learn R Programming

jmastats (version 0.3.0)

read_rsmc_besttrack: Read RSMC Tokyo-Typhoon Center's best track data

Description

[Stable]

Tidy formatting best track data and combine each point to line.

Usage

read_rsmc_besttrack(path)

track_combine( data, group_vars = c("international_number", "storm_name"), keep_vars = NULL, geometry = geometry )

Value

a tbl object

Arguments

path

path to best track data (.txt). Give the path as a directory in the user's computer or the URL.

data

Import data using read_rsmc_besttrack

group_vars

To combine track variables.

keep_vars

Keep variables.

geometry

geometry column name (default geometry).

Details

  • read_rsmc_besttrack(): Read single best track data into sf contains observation record as point.

  • track_combine(): Combine track data to line by id (such as international_number and storm_name).

See Also

Examples

Run this code
read_rsmc_besttrack(path = system.file("dummy/bst.txt", package = "jmastats"))

read_rsmc_besttrack(path = system.file("dummy/bst.txt", package = "jmastats")) |>
  track_combine()

Run the code above in your browser using DataLab