read_tide_level {jmastats} | R Documentation |
Read and parse tide level text data
Description
Usage
read_tide_level(path = NULL, .year, .month, .stn, raw = FALSE)
Arguments
path |
URL or local file path to sea tide level file |
.year |
A.D. 1997 to present year. |
.month |
Month number. 1997 only, valid after March. |
.stn |
Station identification name in uppercase two-digit letters. |
raw |
If TRUE, return raw format data |
Value
a tbl
object
See Also
https://www.data.jma.go.jp/gmd/kaiyou/db/tide/suisan/readme.html
Examples
# Read a local storage file (dummy data)
read_tide_level(system.file("dummy/tide.txt", package = "jmastats"))
# Request from URL
read_tide_level("https://www.data.jma.go.jp/gmd/kaiyou/data/db/tide/suisan/txt/2020/TK.txt")
# Request from parameters
read_tide_level(.year = 2020, .month = 2, .stn = "TK")
[Package jmastats version 0.2.1 Index]