Skip to content

Commit

Permalink
updates vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Sep 9, 2016
1 parent 1c72832 commit 63cfad4
Show file tree
Hide file tree
Showing 5 changed files with 321 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
.Rhistory
.RData
.Ruserdata
inst/doc
28 changes: 28 additions & 0 deletions inst/doc/riem_package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## ---- echo = FALSE-------------------------------------------------------
NOT_CRAN <- identical(tolower(Sys.getenv("NOT_CRAN")), "true")
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
purl = NOT_CRAN,
eval = NOT_CRAN
)

## ----eval = FALSE--------------------------------------------------------
# install.packages("riem")

## ---- eval = FALSE-------------------------------------------------------
# library("devtools")
# install_github("ropenscilabs/riem")
#

## ---- warning = FALSE, message = FALSE-----------------------------------
library("riem")
riem_networks()

## ------------------------------------------------------------------------
riem_stations(network = "IN__ASOS")

## ------------------------------------------------------------------------
measures <- riem_measures(station = "VOHY", date_start = "2000-01-01", date_end = "2016-04-22")
head(measures)

109 changes: 109 additions & 0 deletions inst/doc/riem_package.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
title: "R package riem"
author: "M. Salmon"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{riem intro}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r, echo = FALSE}
NOT_CRAN <- identical(tolower(Sys.getenv("NOT_CRAN")), "true")
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
purl = NOT_CRAN,
eval = NOT_CRAN
)
```

This package allows to get weather data from ASOS stations (airports) via the awesome website of the [Iowa Environment Mesonet](https://mesonet.agron.iastate.edu/request/download.phtml?network=IN__ASOS).


# Installation

Install the package with:

```{r eval = FALSE}
install.packages("riem")
```

Or install the development version using [devtools](https://github.com/hadley/devtools) with:

```{r, eval = FALSE}
library("devtools")
install_github("ropenscilabs/riem")
```

# Get available networks

```{r, warning = FALSE, message = FALSE}
library("riem")
riem_networks()
```

# Get available stations for one network

```{r}
riem_stations(network = "IN__ASOS")
```


# Get measures for one station

Possible variables are (copied from [here](https://mesonet.agron.iastate.edu/request/download.phtml), see also the [ASOS user guide](http://www.nws.noaa.gov/asos/pdfs/aum-toc.pdf))

* station: three or four character site identifier

* valid: timestamp of the observation (UTC)

* tmpf: Air Temperature in Fahrenheit, typically @ 2 meters

* dwpf: Dew Point Temperature in Fahrenheit, typically @ 2 meters

* relh: Relative Humidity in \%

* drct: Wind Direction in degrees from north

* sknt: Wind Speed in knots

* p01i: One hour precipitation for the period from the observation time to the time of the previous hourly precipitation reset. This varies slightly by site. Values are in inches. This value may or may not contain frozen precipitation melted by some device on the sensor or estimated by some other means. Unfortunately, we do not know of an authoritative database denoting which station has which sensor.

* alti: Pressure altimeter in inches

* mslp: Sea Level Pressure in millibar

* vsby: Visibility in miles

* gust: Wind Gust in knots

* skyc1: Sky Level 1 Coverage

* skyc2: Sky Level 2 Coverage

* skyc3: Sky Level 3 Coverage

* skyc4: Sky Level 4 Coverage

* skyl1: Sky Level 1 Altitude in feet

* skyl2: Sky Level 2 Altitude in feet

* skyl3: Sky Level 3 Altitude in feet

* skyl4: Sky Level 4 Altitude in feet

* presentwx: Present Weather Codes (space seperated), see e.g. [this manual](http://www.ofcm.gov/fmh-1/pdf/H-CH8.pdf) for further explanations.

* metar: unprocessed reported observation in METAR format

```{r}
measures <- riem_measures(station = "VOHY", date_start = "2000-01-01", date_end = "2016-04-22")
head(measures)
```

For conversion of wind speed or temperature into other units, see [this package](https://github.com/geanders/weathermetrics/).

181 changes: 181 additions & 0 deletions inst/doc/riem_package.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />

<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="author" content="M. Salmon" />

<meta name="date" content="2016-09-09" />

<title>R package riem</title>



<style type="text/css">code{white-space: pre;}</style>
<style type="text/css">
div.sourceCode { overflow-x: auto; }
table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
margin: 0; padding: 0; vertical-align: baseline; border: none; }
table.sourceCode { width: 100%; line-height: 100%; }
td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; }
td.sourceCode { padding-left: 5px; }
code > span.kw { color: #007020; font-weight: bold; } /* Keyword */
code > span.dt { color: #902000; } /* DataType */
code > span.dv { color: #40a070; } /* DecVal */
code > span.bn { color: #40a070; } /* BaseN */
code > span.fl { color: #40a070; } /* Float */
code > span.ch { color: #4070a0; } /* Char */
code > span.st { color: #4070a0; } /* String */
code > span.co { color: #60a0b0; font-style: italic; } /* Comment */
code > span.ot { color: #007020; } /* Other */
code > span.al { color: #ff0000; font-weight: bold; } /* Alert */
code > span.fu { color: #06287e; } /* Function */
code > span.er { color: #ff0000; font-weight: bold; } /* Error */
code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
code > span.cn { color: #880000; } /* Constant */
code > span.sc { color: #4070a0; } /* SpecialChar */
code > span.vs { color: #4070a0; } /* VerbatimString */
code > span.ss { color: #bb6688; } /* SpecialString */
code > span.im { } /* Import */
code > span.va { color: #19177c; } /* Variable */
code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
code > span.op { color: #666666; } /* Operator */
code > span.bu { } /* BuiltIn */
code > span.ex { } /* Extension */
code > span.pp { color: #bc7a00; } /* Preprocessor */
code > span.at { color: #7d9029; } /* Attribute */
code > span.do { color: #ba2121; font-style: italic; } /* Documentation */
code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
</style>



<link href="data:text/css;charset=utf-8,body%20%7B%0Abackground%2Dcolor%3A%20%23fff%3B%0Amargin%3A%201em%20auto%3B%0Amax%2Dwidth%3A%20700px%3B%0Aoverflow%3A%20visible%3B%0Apadding%2Dleft%3A%202em%3B%0Apadding%2Dright%3A%202em%3B%0Afont%2Dfamily%3A%20%22Open%20Sans%22%2C%20%22Helvetica%20Neue%22%2C%20Helvetica%2C%20Arial%2C%20sans%2Dserif%3B%0Afont%2Dsize%3A%2014px%3B%0Aline%2Dheight%3A%201%2E35%3B%0A%7D%0A%23header%20%7B%0Atext%2Dalign%3A%20center%3B%0A%7D%0A%23TOC%20%7B%0Aclear%3A%20both%3B%0Amargin%3A%200%200%2010px%2010px%3B%0Apadding%3A%204px%3B%0Awidth%3A%20400px%3B%0Aborder%3A%201px%20solid%20%23CCCCCC%3B%0Aborder%2Dradius%3A%205px%3B%0Abackground%2Dcolor%3A%20%23f6f6f6%3B%0Afont%2Dsize%3A%2013px%3B%0Aline%2Dheight%3A%201%2E3%3B%0A%7D%0A%23TOC%20%2Etoctitle%20%7B%0Afont%2Dweight%3A%20bold%3B%0Afont%2Dsize%3A%2015px%3B%0Amargin%2Dleft%3A%205px%3B%0A%7D%0A%23TOC%20ul%20%7B%0Apadding%2Dleft%3A%2040px%3B%0Amargin%2Dleft%3A%20%2D1%2E5em%3B%0Amargin%2Dtop%3A%205px%3B%0Amargin%2Dbottom%3A%205px%3B%0A%7D%0A%23TOC%20ul%20ul%20%7B%0Amargin%2Dleft%3A%20%2D2em%3B%0A%7D%0A%23TOC%20li%20%7B%0Aline%2Dheight%3A%2016px%3B%0A%7D%0Atable%20%7B%0Amargin%3A%201em%20auto%3B%0Aborder%2Dwidth%3A%201px%3B%0Aborder%2Dcolor%3A%20%23DDDDDD%3B%0Aborder%2Dstyle%3A%20outset%3B%0Aborder%2Dcollapse%3A%20collapse%3B%0A%7D%0Atable%20th%20%7B%0Aborder%2Dwidth%3A%202px%3B%0Apadding%3A%205px%3B%0Aborder%2Dstyle%3A%20inset%3B%0A%7D%0Atable%20td%20%7B%0Aborder%2Dwidth%3A%201px%3B%0Aborder%2Dstyle%3A%20inset%3B%0Aline%2Dheight%3A%2018px%3B%0Apadding%3A%205px%205px%3B%0A%7D%0Atable%2C%20table%20th%2C%20table%20td%20%7B%0Aborder%2Dleft%2Dstyle%3A%20none%3B%0Aborder%2Dright%2Dstyle%3A%20none%3B%0A%7D%0Atable%20thead%2C%20table%20tr%2Eeven%20%7B%0Abackground%2Dcolor%3A%20%23f7f7f7%3B%0A%7D%0Ap%20%7B%0Amargin%3A%200%2E5em%200%3B%0A%7D%0Ablockquote%20%7B%0Abackground%2Dcolor%3A%20%23f6f6f6%3B%0Apadding%3A%200%2E25em%200%2E75em%3B%0A%7D%0Ahr%20%7B%0Aborder%2Dstyle%3A%20solid%3B%0Aborder%3A%20none%3B%0Aborder%2Dtop%3A%201px%20solid%20%23777%3B%0Amargin%3A%2028px%200%3B%0A%7D%0Adl%20%7B%0Amargin%2Dleft%3A%200%3B%0A%7D%0Adl%20dd%20%7B%0Amargin%2Dbottom%3A%2013px%3B%0Amargin%2Dleft%3A%2013px%3B%0A%7D%0Adl%20dt%20%7B%0Afont%2Dweight%3A%20bold%3B%0A%7D%0Aul%20%7B%0Amargin%2Dtop%3A%200%3B%0A%7D%0Aul%20li%20%7B%0Alist%2Dstyle%3A%20circle%20outside%3B%0A%7D%0Aul%20ul%20%7B%0Amargin%2Dbottom%3A%200%3B%0A%7D%0Apre%2C%20code%20%7B%0Abackground%2Dcolor%3A%20%23f7f7f7%3B%0Aborder%2Dradius%3A%203px%3B%0Acolor%3A%20%23333%3B%0Awhite%2Dspace%3A%20pre%2Dwrap%3B%20%0A%7D%0Apre%20%7B%0Aborder%2Dradius%3A%203px%3B%0Amargin%3A%205px%200px%2010px%200px%3B%0Apadding%3A%2010px%3B%0A%7D%0Apre%3Anot%28%5Bclass%5D%29%20%7B%0Abackground%2Dcolor%3A%20%23f7f7f7%3B%0A%7D%0Acode%20%7B%0Afont%2Dfamily%3A%20Consolas%2C%20Monaco%2C%20%27Courier%20New%27%2C%20monospace%3B%0Afont%2Dsize%3A%2085%25%3B%0A%7D%0Ap%20%3E%20code%2C%20li%20%3E%20code%20%7B%0Apadding%3A%202px%200px%3B%0A%7D%0Adiv%2Efigure%20%7B%0Atext%2Dalign%3A%20center%3B%0A%7D%0Aimg%20%7B%0Abackground%2Dcolor%3A%20%23FFFFFF%3B%0Apadding%3A%202px%3B%0Aborder%3A%201px%20solid%20%23DDDDDD%3B%0Aborder%2Dradius%3A%203px%3B%0Aborder%3A%201px%20solid%20%23CCCCCC%3B%0Amargin%3A%200%205px%3B%0A%7D%0Ah1%20%7B%0Amargin%2Dtop%3A%200%3B%0Afont%2Dsize%3A%2035px%3B%0Aline%2Dheight%3A%2040px%3B%0A%7D%0Ah2%20%7B%0Aborder%2Dbottom%3A%204px%20solid%20%23f7f7f7%3B%0Apadding%2Dtop%3A%2010px%3B%0Apadding%2Dbottom%3A%202px%3B%0Afont%2Dsize%3A%20145%25%3B%0A%7D%0Ah3%20%7B%0Aborder%2Dbottom%3A%202px%20solid%20%23f7f7f7%3B%0Apadding%2Dtop%3A%2010px%3B%0Afont%2Dsize%3A%20120%25%3B%0A%7D%0Ah4%20%7B%0Aborder%2Dbottom%3A%201px%20solid%20%23f7f7f7%3B%0Amargin%2Dleft%3A%208px%3B%0Afont%2Dsize%3A%20105%25%3B%0A%7D%0Ah5%2C%20h6%20%7B%0Aborder%2Dbottom%3A%201px%20solid%20%23ccc%3B%0Afont%2Dsize%3A%20105%25%3B%0A%7D%0Aa%20%7B%0Acolor%3A%20%230033dd%3B%0Atext%2Ddecoration%3A%20none%3B%0A%7D%0Aa%3Ahover%20%7B%0Acolor%3A%20%236666ff%3B%20%7D%0Aa%3Avisited%20%7B%0Acolor%3A%20%23800080%3B%20%7D%0Aa%3Avisited%3Ahover%20%7B%0Acolor%3A%20%23BB00BB%3B%20%7D%0Aa%5Bhref%5E%3D%22http%3A%22%5D%20%7B%0Atext%2Ddecoration%3A%20underline%3B%20%7D%0Aa%5Bhref%5E%3D%22https%3A%22%5D%20%7B%0Atext%2Ddecoration%3A%20underline%3B%20%7D%0A%0Acode%20%3E%20span%2Ekw%20%7B%20color%3A%20%23555%3B%20font%2Dweight%3A%20bold%3B%20%7D%20%0Acode%20%3E%20span%2Edt%20%7B%20color%3A%20%23902000%3B%20%7D%20%0Acode%20%3E%20span%2Edv%20%7B%20color%3A%20%2340a070%3B%20%7D%20%0Acode%20%3E%20span%2Ebn%20%7B%20color%3A%20%23d14%3B%20%7D%20%0Acode%20%3E%20span%2Efl%20%7B%20color%3A%20%23d14%3B%20%7D%20%0Acode%20%3E%20span%2Ech%20%7B%20color%3A%20%23d14%3B%20%7D%20%0Acode%20%3E%20span%2Est%20%7B%20color%3A%20%23d14%3B%20%7D%20%0Acode%20%3E%20span%2Eco%20%7B%20color%3A%20%23888888%3B%20font%2Dstyle%3A%20italic%3B%20%7D%20%0Acode%20%3E%20span%2Eot%20%7B%20color%3A%20%23007020%3B%20%7D%20%0Acode%20%3E%20span%2Eal%20%7B%20color%3A%20%23ff0000%3B%20font%2Dweight%3A%20bold%3B%20%7D%20%0Acode%20%3E%20span%2Efu%20%7B%20color%3A%20%23900%3B%20font%2Dweight%3A%20bold%3B%20%7D%20%20code%20%3E%20span%2Eer%20%7B%20color%3A%20%23a61717%3B%20background%2Dcolor%3A%20%23e3d2d2%3B%20%7D%20%0A" rel="stylesheet" type="text/css" />

</head>

<body>




<h1 class="title toc-ignore">R package riem</h1>
<h4 class="author"><em>M. Salmon</em></h4>
<h4 class="date"><em>2016-09-09</em></h4>



<p>This package allows to get weather data from ASOS stations (airports) via the awesome website of the <a href="https://mesonet.agron.iastate.edu/request/download.phtml?network=IN__ASOS">Iowa Environment Mesonet</a>.</p>
<div id="installation" class="section level1">
<h1>Installation</h1>
<p>Install the package with:</p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">install.packages</span>(<span class="st">&quot;riem&quot;</span>)</code></pre></div>
<p>Or install the development version using <a href="https://github.com/hadley/devtools">devtools</a> with:</p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(<span class="st">&quot;devtools&quot;</span>)
<span class="kw">install_github</span>(<span class="st">&quot;ropenscilabs/riem&quot;</span>)</code></pre></div>
</div>
<div id="get-available-networks" class="section level1">
<h1>Get available networks</h1>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(<span class="st">&quot;riem&quot;</span>)
<span class="kw">riem_networks</span>()
<span class="co">#&gt; # A tibble: 266 × 2</span>
<span class="co">#&gt; code name</span>
<span class="co">#&gt; &lt;chr&gt; &lt;chr&gt;</span>
<span class="co">#&gt; 1 AE__ASOS United Arab Emirates ASOS</span>
<span class="co">#&gt; 2 AF__ASOS Afghanistan ASOS</span>
<span class="co">#&gt; 3 AG__ASOS Antigua and Barbuda ASOS</span>
<span class="co">#&gt; 4 AI__ASOS Anguilla ASOS</span>
<span class="co">#&gt; 5 AK_ASOS Alaska ASOS</span>
<span class="co">#&gt; 6 AL_ASOS Alabama ASOS</span>
<span class="co">#&gt; 7 AL__ASOS Albania ASOS</span>
<span class="co">#&gt; 8 AM__ASOS Armenia ASOS</span>
<span class="co">#&gt; 9 AN__ASOS Netherlands Antilles ASOS</span>
<span class="co">#&gt; 10 AO__ASOS Angola ASOS</span>
<span class="co">#&gt; # ... with 256 more rows</span></code></pre></div>
</div>
<div id="get-available-stations-for-one-network" class="section level1">
<h1>Get available stations for one network</h1>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">riem_stations</span>(<span class="dt">network =</span> <span class="st">&quot;IN__ASOS&quot;</span>)
<span class="co">#&gt; # A tibble: 117 × 4</span>
<span class="co">#&gt; id name lon lat</span>
<span class="co">#&gt; &lt;chr&gt; &lt;chr&gt; &lt;dbl&gt; &lt;dbl&gt;</span>
<span class="co">#&gt; 1 VEAT AGARTALA 91.24045 23.88698</span>
<span class="co">#&gt; 2 VIAG AGRA (IN-AFB) 77.96089 27.15583</span>
<span class="co">#&gt; 3 VAAH AHMADABAD 72.63465 23.07724</span>
<span class="co">#&gt; 4 VAAK AKOLA AIRPORT 77.05863 20.69901</span>
<span class="co">#&gt; 5 VIAH ALIGARH 78.06667 27.88333</span>
<span class="co">#&gt; 6 VIAL ALLAHABAD (IN-AF 81.73387 25.44006</span>
<span class="co">#&gt; 7 VIAR AMRITSAR 74.86667 31.63333</span>
<span class="co">#&gt; 8 VAOR Arkonam 79.69120 13.07120</span>
<span class="co">#&gt; 9 VOAR Arkonam 79.69120 13.07120</span>
<span class="co">#&gt; 10 VAAU Aurangabad Chikalthan 75.39810 19.86270</span>
<span class="co">#&gt; # ... with 107 more rows</span></code></pre></div>
</div>
<div id="get-measures-for-one-station" class="section level1">
<h1>Get measures for one station</h1>
<p>Possible variables are (copied from <a href="https://mesonet.agron.iastate.edu/request/download.phtml">here</a>, see also the <a href="http://www.nws.noaa.gov/asos/pdfs/aum-toc.pdf">ASOS user guide</a>)</p>
<ul>
<li><p>station: three or four character site identifier</p></li>
<li><p>valid: timestamp of the observation (UTC)</p></li>
<li><p>tmpf: Air Temperature in Fahrenheit, typically @ 2 meters</p></li>
<li><p>dwpf: Dew Point Temperature in Fahrenheit, typically @ 2 meters</p></li>
<li><p>relh: Relative Humidity in %</p></li>
<li><p>drct: Wind Direction in degrees from north</p></li>
<li><p>sknt: Wind Speed in knots</p></li>
<li><p>p01i: One hour precipitation for the period from the observation time to the time of the previous hourly precipitation reset. This varies slightly by site. Values are in inches. This value may or may not contain frozen precipitation melted by some device on the sensor or estimated by some other means. Unfortunately, we do not know of an authoritative database denoting which station has which sensor.</p></li>
<li><p>alti: Pressure altimeter in inches</p></li>
<li><p>mslp: Sea Level Pressure in millibar</p></li>
<li><p>vsby: Visibility in miles</p></li>
<li><p>gust: Wind Gust in knots</p></li>
<li><p>skyc1: Sky Level 1 Coverage</p></li>
<li><p>skyc2: Sky Level 2 Coverage</p></li>
<li><p>skyc3: Sky Level 3 Coverage</p></li>
<li><p>skyc4: Sky Level 4 Coverage</p></li>
<li><p>skyl1: Sky Level 1 Altitude in feet</p></li>
<li><p>skyl2: Sky Level 2 Altitude in feet</p></li>
<li><p>skyl3: Sky Level 3 Altitude in feet</p></li>
<li><p>skyl4: Sky Level 4 Altitude in feet</p></li>
<li><p>presentwx: Present Weather Codes (space seperated), see e.g. <a href="http://www.ofcm.gov/fmh-1/pdf/H-CH8.pdf">this manual</a> for further explanations.</p></li>
<li><p>metar: unprocessed reported observation in METAR format</p></li>
</ul>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">measures &lt;-<span class="st"> </span><span class="kw">riem_measures</span>(<span class="dt">station =</span> <span class="st">&quot;VOHY&quot;</span>, <span class="dt">date_start =</span> <span class="st">&quot;2000-01-01&quot;</span>, <span class="dt">date_end =</span> <span class="st">&quot;2016-04-22&quot;</span>)
<span class="kw">head</span>(measures)
<span class="co">#&gt; # A tibble: 6 × 24</span>
<span class="co">#&gt; station valid lon lat tmpf dwpf relh drct</span>
<span class="co">#&gt; &lt;chr&gt; &lt;dttm&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt;</span>
<span class="co">#&gt; 1 VOHY 2011-08-23 00:40:00 78.4676 17.4531 73.4 69.8 88.51 0</span>
<span class="co">#&gt; 2 VOHY 2011-08-23 01:40:00 78.4676 17.4531 73.4 69.8 88.51 0</span>
<span class="co">#&gt; 3 VOHY 2011-08-23 05:10:00 78.4676 17.4531 82.4 68.0 61.81 270</span>
<span class="co">#&gt; 4 VOHY 2011-08-23 05:40:00 78.4676 17.4531 84.2 66.2 54.80 270</span>
<span class="co">#&gt; 5 VOHY 2011-08-23 06:40:00 78.4676 17.4531 84.2 68.0 58.32 260</span>
<span class="co">#&gt; 6 VOHY 2011-08-23 07:40:00 78.4676 17.4531 84.2 66.2 54.80 250</span>
<span class="co">#&gt; # ... with 16 more variables: sknt &lt;dbl&gt;, p01i &lt;dbl&gt;, alti &lt;dbl&gt;,</span>
<span class="co">#&gt; # mslp &lt;lgl&gt;, vsby &lt;dbl&gt;, gust &lt;dbl&gt;, skyc1 &lt;chr&gt;, skyc2 &lt;chr&gt;,</span>
<span class="co">#&gt; # skyc3 &lt;chr&gt;, skyc4 &lt;chr&gt;, skyl1 &lt;dbl&gt;, skyl2 &lt;dbl&gt;, skyl3 &lt;dbl&gt;,</span>
<span class="co">#&gt; # skyl4 &lt;dbl&gt;, presentwx &lt;chr&gt;, metar &lt;chr&gt;</span></code></pre></div>
<p>For conversion of wind speed or temperature into other units, see <a href="https://github.com/geanders/weathermetrics/">this package</a>.</p>
</div>



<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>

</body>
</html>
Loading

0 comments on commit 63cfad4

Please sign in to comment.