View source: R/read_tide_level.R
read_tide_level | R Documentation |
read_tide_level(path = NULL, .year, .month, .stn, raw = FALSE)
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 |
a tbl
object
https://www.data.jma.go.jp/gmd/kaiyou/db/tide/suisan/readme.html
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.