-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
55 lines (40 loc) · 1.53 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
```
# tropicalcyclones <img src="man/figures/logo.png" align="right" width="120"/>
<!-- badges: start -->
[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/tropicalcyclones)](https://cran.r-project.org/package=tropicalcyclones)
[![pkgdown Workflow Status](https://github.com/aldomann/tropicalcyclones/workflows/pkgdown/badge.svg)](https://aldomann.github.io/tropicalcyclones/)
<!-- badges: end -->
## Overview
Parse and explore data from several tropical-cyclone related databases, such as HURDAT2, HadISST1, and OISST.
## Installation
<!-- You can install the released version of tropicalcyclones from [CRAN](https://CRAN.R-project.org) with: -->
<!-- ``` r -->
<!-- install.packages("tropicalcyclones") -->
<!-- ``` -->
<!-- And -->
The development version can be installed from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("aldomann/tropicalcyclones")
```
## Examples
Since `read_hurdat2()` is powered by `readLines`, we can use any connection, such as
- Local files.
- Compressed files.
- Remote URLs.
```r
hurr_obs_natl <- tropicalcyclones::read_hurdat2("hurdat2-1851-2016-apr2017.txt")
```
```r
hurr_obs_natl <- tropicalcyclones::read_hurdat2("https://www.aoml.noaa.gov/hrd/hurdat/hurdat2.html")
```