diff --git a/.Rbuildignore b/.Rbuildignore index 994f0c0..0da8b04 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,3 +1,6 @@ +^pkgdown$ +^_pkgdown\.yml$ +^docs$ ^.*\.Rproj$ ^\.Rproj\.user$ ^\.travis\.yml$ @@ -9,5 +12,4 @@ ^cran-comments\.md$ ^codemeta\.json$ -^docs$ ^docs/$ diff --git a/.gitignore b/.gitignore index c833a2c..6deefea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +docs/ .Rproj.user .Rhistory .RData diff --git a/.travis.yml b/.travis.yml index a3e0105..f1da6f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,17 @@ language: r -r: - - oldrel - - release - - devel +matrix: + include: + - r: release + before_cache: Rscript -e 'remotes::install_cran("pkgdown")' + deploy: + provider: script + script: Rscript -e 'pkgdown::deploy_site_github()' + skip_cleanup: true + - r: devel + - r: oldrel + sudo: false cache: packages diff --git a/_pkgdown.yml b/_pkgdown.yml new file mode 100644 index 0000000..f3ce14d --- /dev/null +++ b/_pkgdown.yml @@ -0,0 +1,9 @@ +destination: docs + +authors: + rOpenSci: + href: "https://ropensci.org" + html: "" + + Maëlle Salmon: + href: "https://masalmon.eu" diff --git a/docs/CONDUCT.html b/docs/CONDUCT.html deleted file mode 100644 index df056e1..0000000 --- a/docs/CONDUCT.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - -Contributor Code of Conduct • riem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- -
-
- - -
- -

As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

-

We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.

-

Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.

-

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.

-

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.

-

This Code of Conduct is adapted from the Contributor Covenant (http:contributor-covenant.org), version 1.0.0, available at http://contributor-covenant.org/version/1/0/0/

-
- -
- -
- - - -
- - - - diff --git a/docs/articles/forecast.html b/docs/articles/forecast.html deleted file mode 100644 index b0d7792..0000000 --- a/docs/articles/forecast.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - -Forecasting temperature at your vacation destination • riem - - - - - - - - - -
-
- - - -
-
- - - - -
-

For Christmas I’ll travel to Marseille. What temperatures should I expect there? I could of course open a weather app, but in this vignette I want to give an example using the riem and forecast packages.

-
-

-Find airport for Marseille

-

The name of the network for France is “FR__ASOS“. I already know there’s only one airport near the city.

- -
## # A tibble: 1 x 4
-##   id    name               lon   lat
-##   <chr> <chr>            <dbl> <dbl>
-## 1 LFML  MARSEILLE/MARIGN  5.23  43.4
-
- - -
-

-What if I went somewhere else?

-

Ok, what if I had travelled to, say, Hyderabad in India?

-

-

Without surprise, we forecast I’d have enjoyed warmer weather.

-

I wouldn’t advise you to really use such code to forecast temperature, but I’d recommend you to use riem for getting weather airport data quite easily and to dig more deeply into forecast functionalities if you’re interested in time series forecasting. And stay warm!

-
-
-
- - - -
- - - -
- - - diff --git a/docs/articles/forecast_files/figure-html/unnamed-chunk-2-1.png b/docs/articles/forecast_files/figure-html/unnamed-chunk-2-1.png deleted file mode 100644 index 8da2998..0000000 Binary files a/docs/articles/forecast_files/figure-html/unnamed-chunk-2-1.png and /dev/null differ diff --git a/docs/articles/forecast_files/figure-html/unnamed-chunk-3-1.png b/docs/articles/forecast_files/figure-html/unnamed-chunk-3-1.png deleted file mode 100644 index b188108..0000000 Binary files a/docs/articles/forecast_files/figure-html/unnamed-chunk-3-1.png and /dev/null differ diff --git a/docs/articles/forecast_files/figure-html/unnamed-chunk-4-1.png b/docs/articles/forecast_files/figure-html/unnamed-chunk-4-1.png deleted file mode 100644 index 0f67f4d..0000000 Binary files a/docs/articles/forecast_files/figure-html/unnamed-chunk-4-1.png and /dev/null differ diff --git a/docs/articles/forecast_files/figure-html/unnamed-chunk-5-1.png b/docs/articles/forecast_files/figure-html/unnamed-chunk-5-1.png deleted file mode 100644 index 4358acb..0000000 Binary files a/docs/articles/forecast_files/figure-html/unnamed-chunk-5-1.png and /dev/null differ diff --git a/docs/articles/index.html b/docs/articles/index.html deleted file mode 100644 index 37629dd..0000000 --- a/docs/articles/index.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - -Articles • riem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- - - -
- -
- - -
- - - - diff --git a/docs/articles/riem_package.html b/docs/articles/riem_package.html deleted file mode 100644 index 6ba791a..0000000 --- a/docs/articles/riem_package.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - -R package riem • riem - - - - - - - - - -
-
- - - -
-
- - - - -
-

This package allows to get weather data from ASOS stations (airports) via the awesome website of the Iowa Environment Mesonet.

-
-

-Installation

-

Install the package with:

- -

Or install the development version using devtools with:

- -
- - -
-

-Get measures for one station

-

Possible variables are (copied from here, see also the ASOS user guide)

-
    -
  • 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 for further explanations.

  • -
  • metar: unprocessed reported observation in METAR format

  • -
- -

For conversion of wind speed or temperature into other units, see this package.

-
-
-
- - - -
- - - -
- - - diff --git a/docs/authors.html b/docs/authors.html deleted file mode 100644 index a5eed17..0000000 --- a/docs/authors.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - -Authors • riem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- -
-
- - -
    -
  • -

    Maëlle Salmon. Author, maintainer. -

    -
  • -
  • -

    Brooke Anderson. Reviewer. -
    Brooke Anderson reviewed the package for rOpenSci, see https://github.com/ropensci/onboarding/issues/39.

    -
  • -
  • -

    CHAI Project. Funder. -
    The research leading to these results has received funding from the European Research Council under the ERC Grant Agreement number 336167– the CHAI Project

    -
  • -
  • -

    rOpenSci. Funder. -
    https://ropensci.org/

    -
  • -
- -
- -
- - - -
- - - - diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index dd3681d..0000000 --- a/docs/index.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - -Accesses Weather Data from the Iowa Environment Mesonet • riem - - - - - - - - - -
-
- - - -
-
- -
- - -

This package allows to get weather data from ASOS stations (airports) via the awesome website of the Iowa Environment Mesonet.

-
-
-

-Installation

-

Install the package with:

- -

Or install the development version using devtools with:

- -
-
-

-Documentation

-

Please refer to the pkgdown website to read docs, in particular the reference and the vignettes.

-
-
-

-Use cases in the wild

-

Submit your use cases by opening a new issue!

- -
-

-Meta

-
    -
  • Please report any issues or bugs.
  • -
  • License: GPL
  • -
  • Get citation information for ropenaq in R doing citation(package = 'riem') -
  • -
  • Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
  • -
-

ropensci_footer

-
-
- -
- - -
- - - -
- - - diff --git a/docs/jquery.sticky-kit.min.js b/docs/jquery.sticky-kit.min.js deleted file mode 100644 index e2a3c6d..0000000 --- a/docs/jquery.sticky-kit.min.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - Sticky-kit v1.1.2 | WTFPL | Leaf Corcoran 2015 | http://leafo.net -*/ -(function(){var b,f;b=this.jQuery||window.jQuery;f=b(window);b.fn.stick_in_parent=function(d){var A,w,J,n,B,K,p,q,k,E,t;null==d&&(d={});t=d.sticky_class;B=d.inner_scrolling;E=d.recalc_every;k=d.parent;q=d.offset_top;p=d.spacer;w=d.bottoming;null==q&&(q=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=b(document);null==w&&(w=!0);J=function(a,d,n,C,F,u,r,G){var v,H,m,D,I,c,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k)); -if(!g.length)throw"failed to find stick parent";v=m=!1;(h=null!=p?p&&a.closest(p):b("
"))&&h.css("position",a.css("position"));x=function(){var c,f,e;if(!G&&(I=A.height(),c=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),d=parseInt(g.css("padding-bottom"),10),n=g.offset().top+c+f,C=g.height(),m&&(v=m=!1,null==p&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-q, -u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:a.outerWidth(!0),height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,c=q,z=E,l=function(){var b,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+c>C+n,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:c}).trigger("sticky_kit:unbottom"))),eb&&!v&&(c-=l,c=Math.max(b-u,c),c=Math.min(q,c),m&&a.css({top:c+"px"})))):e>F&&(m=!0,b={position:"fixed",top:c},b.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(b).addClass(t),null==p&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+c>C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}), -a.css({position:"absolute",bottom:d,top:"auto"}).trigger("sticky_kit:bottom")},y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);b(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize", -y),b(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l,0)}};n=0;for(K=this.length;n - - - - - diff --git a/docs/news/index.html b/docs/news/index.html deleted file mode 100644 index 8a73479..0000000 --- a/docs/news/index.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - -Changelog • riem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- -
- -
- - -
-
-

-riem 0.1.1 2016-09-10 -

-
    -
  • Eliminates a few dependencies (dplyr, lazyeval, readr) to make installation easier.

  • -
  • Now the default end date for riem_measures is the current date as given by Sys.Date().

  • -
-
-
-

-riem 0.1.0 2016-05-28 -

-
    -
  • Added a NEWS.md file to track changes to the package.
  • -
-
-
-
- - - -
- -
- - -
-

Site built with pkgdown.

-
- -
-
- - - - diff --git a/docs/pkgdown.css b/docs/pkgdown.css deleted file mode 100644 index fcd97bb..0000000 --- a/docs/pkgdown.css +++ /dev/null @@ -1,219 +0,0 @@ -/* Sticky footer */ - -/** - * Basic idea: https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/ - * Details: https://github.com/philipwalton/solved-by-flexbox/blob/master/assets/css/components/site.css - * - * .Site -> body > .container - * .Site-content -> body > .container .row - * .footer -> footer - * - * Key idea seems to be to ensure that .container and __all its parents__ - * have height set to 100% - * - */ - -html, body { - height: 100%; -} - -body > .container { - display: flex; - height: 100%; - flex-direction: column; - - padding-top: 60px; -} - -body > .container .row { - flex: 1 0 auto; -} - -footer { - margin-top: 45px; - padding: 35px 0 36px; - border-top: 1px solid #e5e5e5; - color: #666; - display: flex; - flex-shrink: 0; -} -footer p { - margin-bottom: 0; -} -footer div { - flex: 1; -} -footer .pkgdown { - text-align: right; -} -footer p { - margin-bottom: 0; -} - -img.icon { - float: right; -} - -img { - max-width: 100%; -} - -/* Typographic tweaking ---------------------------------*/ - -.contents h1.page-header { - margin-top: calc(-60px + 1em); -} - -/* Section anchors ---------------------------------*/ - -a.anchor { - margin-left: -30px; - display:inline-block; - width: 30px; - height: 30px; - visibility: hidden; - - background-image: url(./link.svg); - background-repeat: no-repeat; - background-size: 20px 20px; - background-position: center center; -} - -.hasAnchor:hover a.anchor { - visibility: visible; -} - -@media (max-width: 767px) { - .hasAnchor:hover a.anchor { - visibility: hidden; - } -} - - -/* Fixes for fixed navbar --------------------------*/ - -.contents h1, .contents h2, .contents h3, .contents h4 { - padding-top: 60px; - margin-top: -40px; -} - -/* Static header placement on mobile devices */ -@media (max-width: 767px) { - .navbar-fixed-top { - position: absolute; - } - .navbar { - padding: 0; - } -} - - -/* Sidebar --------------------------*/ - -#sidebar { - margin-top: 30px; -} -#sidebar h2 { - font-size: 1.5em; - margin-top: 1em; -} - -#sidebar h2:first-child { - margin-top: 0; -} - -#sidebar .list-unstyled li { - margin-bottom: 0.5em; -} - -.orcid { - height: 16px; - vertical-align: middle; -} - -/* Reference index & topics ----------------------------------------------- */ - -.ref-index th {font-weight: normal;} - -.ref-index td {vertical-align: top;} -.ref-index .alias {width: 40%;} -.ref-index .title {width: 60%;} - -.ref-index .alias {width: 40%;} -.ref-index .title {width: 60%;} - -.ref-arguments th {text-align: right; padding-right: 10px;} -.ref-arguments th, .ref-arguments td {vertical-align: top;} -.ref-arguments .name {width: 20%;} -.ref-arguments .desc {width: 80%;} - -/* Nice scrolling for wide elements --------------------------------------- */ - -table { - display: block; - overflow: auto; -} - -/* Syntax highlighting ---------------------------------------------------- */ - -pre { - word-wrap: normal; - word-break: normal; - border: 1px solid #eee; -} - -pre, code { - background-color: #f8f8f8; - color: #333; -} - -pre code { - overflow: auto; - word-wrap: normal; - white-space: pre; -} - -pre .img { - margin: 5px 0; -} - -pre .img img { - background-color: #fff; - display: block; - height: auto; -} - -code a, pre a { - color: #375f84; -} - -a.sourceLine:hover { - text-decoration: none; -} - -.fl {color: #1514b5;} -.fu {color: #000000;} /* function */ -.ch,.st {color: #036a07;} /* string */ -.kw {color: #264D66;} /* keyword */ -.co {color: #888888;} /* comment */ - -.message { color: black; font-weight: bolder;} -.error { color: orange; font-weight: bolder;} -.warning { color: #6A0366; font-weight: bolder;} - -/* Clipboard --------------------------*/ - -.hasCopyButton { - position: relative; -} - -.btn-copy-ex { - position: absolute; - right: 0; - top: 0; - visibility: hidden; -} - -.hasCopyButton:hover button.btn-copy-ex { - visibility: visible; -} diff --git a/docs/pkgdown.js b/docs/pkgdown.js deleted file mode 100644 index 362b060..0000000 --- a/docs/pkgdown.js +++ /dev/null @@ -1,101 +0,0 @@ -$(function() { - - $("#sidebar") - .stick_in_parent({offset_top: 40}) - .on('sticky_kit:bottom', function(e) { - $(this).parent().css('position', 'static'); - }) - .on('sticky_kit:unbottom', function(e) { - $(this).parent().css('position', 'relative'); - }); - - $('body').scrollspy({ - target: '#sidebar', - offset: 60 - }); - - $('[data-toggle="tooltip"]').tooltip(); - - var cur_path = paths(location.pathname); - $("#navbar ul li a").each(function(index, value) { - if (value.text == "Home") - return; - if (value.getAttribute("href") === "#") - return; - - var path = paths(value.pathname); - if (is_prefix(cur_path, path)) { - // Add class to parent
  • , and enclosing
  • if in dropdown - var menu_anchor = $(value); - menu_anchor.parent().addClass("active"); - menu_anchor.closest("li.dropdown").addClass("active"); - } - }); -}); - -function paths(pathname) { - var pieces = pathname.split("/"); - pieces.shift(); // always starts with / - - var end = pieces[pieces.length - 1]; - if (end === "index.html" || end === "") - pieces.pop(); - return(pieces); -} - -function is_prefix(needle, haystack) { - if (needle.length > haystack.lengh) - return(false); - - // Special case for length-0 haystack, since for loop won't run - if (haystack.length === 0) { - return(needle.length === 0); - } - - for (var i = 0; i < haystack.length; i++) { - if (needle[i] != haystack[i]) - return(false); - } - - return(true); -} - -/* Clipboard --------------------------*/ - -function changeTooltipMessage(element, msg) { - var tooltipOriginalTitle=element.getAttribute('data-original-title'); - element.setAttribute('data-original-title', msg); - $(element).tooltip('show'); - element.setAttribute('data-original-title', tooltipOriginalTitle); -} - -if(Clipboard.isSupported()) { - $(document).ready(function() { - var copyButton = ""; - - $(".examples").addClass("hasCopyButton"); - - // Insert copy buttons: - $(copyButton).prependTo(".hasCopyButton"); - - // Initialize tooltips: - $('.btn-copy-ex').tooltip({container: 'body'}); - - // Initialize clipboard: - var clipboardBtnCopies = new Clipboard('[data-clipboard-copy]', { - text: function(trigger) { - return trigger.parentNode.textContent; - } - }); - - clipboardBtnCopies.on('success', function(e) { - changeTooltipMessage(e.trigger, 'Copied!'); - e.clearSelection(); - }); - - clipboardBtnCopies.on('error', function() { - changeTooltipMessage(e.trigger,'Press Ctrl+C or Command+C to copy'); - }); - }); -} - diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml deleted file mode 100644 index 2d24125..0000000 --- a/docs/pkgdown.yml +++ /dev/null @@ -1,7 +0,0 @@ -pandoc: 2.1.3 -pkgdown: 0.1.0.9000 -pkgdown_sha: e937c92cffd8afb0c98c67ff1a5450fe6419f09b -articles: - forecast: forecast.html - riem_package: riem_package.html - diff --git a/docs/reference/index.html b/docs/reference/index.html deleted file mode 100644 index a596eb3..0000000 --- a/docs/reference/index.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - -Function reference • riem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - -
    - -
    -
    - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    -

    All functions

    -

    -
    -

    riem_measures()

    -

    Function for getting weather data from one station

    -

    riem_networks()

    -

    Function for getting ASOS and AWOS networks

    -

    riem_stations()

    -

    Function for getting stations of an ASOS network

    -
    -
    - - -
    - -
    - - -
    -

    Site built with pkgdown.

    -
    - -
    -
    - - - - diff --git a/docs/reference/riem_measures.html b/docs/reference/riem_measures.html deleted file mode 100644 index c717a6e..0000000 --- a/docs/reference/riem_measures.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - -Function for getting weather data from one station — riem_measures • riem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - -
    - -
    -
    - - - -

    Function for getting weather data from one station

    - - -
    riem_measures(station = "VOHY", date_start = "2014-01-01",
    -  date_end = as.character(Sys.Date()))
    - -

    Arguments

    - - - - - - - - - - - - - - -
    station

    station ID, see riem_stations()

    date_start

    date of start of the desired data, e.g. "2000-01-01"

    date_end

    date of end of the desired data, e.g. "2016-04-22"

    - -

    Value

    - -

    a data.frame (tibble tibble) with measures, the number of columns can vary from station to station, -but possible variables are

      -
    • 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

    • -
    - - -

    Details

    - -

    The data is queried through https://mesonet.agron.iastate.edu/request/download.phtml.

    - - -

    Examples

    -
    # NOT RUN {
    -riem_measures(station = "VOHY", date_start = "2000-01-01", date_end = "2016-04-22")
    -# }
    -
    - -
    - -
    - - -
    -

    Site built with pkgdown.

    -
    - -
    -
    - - - - diff --git a/docs/reference/riem_networks.html b/docs/reference/riem_networks.html deleted file mode 100644 index 9c0a94a..0000000 --- a/docs/reference/riem_networks.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - -Function for getting ASOS and AWOS networks — riem_networks • riem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - -
    - -
    -
    - - - -

    Function for getting ASOS and AWOS networks

    - - -
    riem_networks()
    - -

    Value

    - -

    a data.frame (tibble tibble) with the names and codes of available networks.

    - - -

    Examples

    -
    # NOT RUN {
    -riem_networks()
    -# }
    -
    - -
    - -
    - - -
    -

    Site built with pkgdown.

    -
    - -
    -
    - - - - diff --git a/docs/reference/riem_stations.html b/docs/reference/riem_stations.html deleted file mode 100644 index 961325d..0000000 --- a/docs/reference/riem_stations.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - - -Function for getting stations of an ASOS network — riem_stations • riem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - -
    - -
    -
    - - - -

    Function for getting stations of an ASOS network

    - - -
    riem_stations(network = NULL)
    - -

    Arguments

    - - - - - - -
    network

    A single network code, see riem_networks() for finding the code corresponding to a name.

    - -

    Value

    - -

    a data.frame (tibble tibble) with the id, name, longitude (lon) and latitude (lat) of each station in the network.

    - -

    Details

    - -

    You can see a map of stations in a network at https://mesonet.agron.iastate.edu/request/download.phtml.

    - - -

    Examples

    -
    # NOT RUN {
    -riem_stations(network = "IN__ASOS")
    -# }
    -
    - -
    - - -
    - - - -