Skip to content

Releases: ropensci/rrricanes

rrricanes 0.2.0-6 (2017-07-16)

16 Jul 20:30
Compare
Choose a tag to compare

NEW FEATURES

  • NA

MINOR IMPROVEMENTS

  • get_storms and get_storm_data have been rewritten to utilize pkg crul's asynchronous features. This will not make much of a difference in get_storms (and may actually be slightly slower; to be explained). But the difference with get_storm_data should be very noticeable. There is a limit to hitting the NHC archives; 80 requests per 10 seconds. Both functions send 4 links through every 0.5 seconds to avoid this limit. Timeout issues should no longer occur so options rrricanes.http_attempts and rrricanes.http_timeout have been removed. The primary cause of long processing now is due to scraping, particularly with the fstadv products; the amount of data in these products and the unstructured nature of the products require a number of rules. This can probably be simplified in future releases. (#94)

BUG FIXES

  • NA

DEPRECATED AND DEFUNCT

  • load_storm_data has been removed in favor of loading rrricanesdata. See
    vignette "installing_rrricanesdata" for more information.

rrricanes 0.2.0-5.1 (2017-07-10)

11 Jul 09:49
Compare
Choose a tag to compare
Pre-release

rrricanes 0.2.0-5 (2017-07-08)

NEW FEATURES

  • NA

MINOR IMPROVEMENTS

  • load_storm_data now takes readr::read_csv parameters.

BUG FIXES

  • NA

DEPRECATED AND DEFUNCT

  • NA

rrricanes 0.2.0-4

26 Jun 01:52
Compare
Choose a tag to compare
  • Key variable added to discus dataframes. Key will be NA for all cyclones >= 2005. Should not be <= 2006. (#80)

  • Removed Adv variable from posest dataframes. Position estimates do not have advisory numbers. (#81)

  • Removed Adv variable from update. Updates do not have advisory numbers. (#84)

  • Added variable Key to get_public dataframes. (#85)

  • Added variable Key to get_update dataframes. (#86)

  • Removed non-existent wind radii variables in get_fstadv. Hrs 48 and 72 hours only have 34 and 50kt wind fields. Hrs 96 and 120 have none. (#89)

rrricanes 0.2.0-3 (2017-06-22)

23 Jun 04:23
Compare
Choose a tag to compare

NEW FEATURES

  • NA

MINOR IMPROVEMENTS

  • Examples for functions knots_to_mph, mb_to_in, status_abbr_to_str, get_discus, get_fstadv, tidy_fstadv, tidy_wr, tidy_fcst and tidy_fcst_wr.
  • Minor documentation updates
  • Small enhancements to tests, vignettes

BUG FIXES

  • NA

DEPRECATED AND DEFUNCT

  • NA

rrricanes 0.2.0-1 (2017-06-16)

16 Jun 14:16
Compare
Choose a tag to compare
Pre-release

NEW FEATURES

  • GIS functions now available. Please note some of these products may not exist for every available cyclone/advisory.
  • gis_advisory Typically will include current and past track data, forecast track data, forecast cone (margin of error) and wind radius data.
  • gis_breakpoints List of breakpoints typically used for watch/warning areas but is not a requirement.
  • gis_latest Retrieves the latest GIS products for all active storms.
  • gis_outlook Retrives the latest tropical weather outlook in shapefile format.
  • gis_prob_storm_surge Probabilistic storm surge; a polygon dataset for psurge and esurge products with various criteria.
  • gis_windfield Wind radius datasets.
  • gis_wsp Wind speed probabilities
  • gis_download Use this function to download the URLs returned from the above functions.
  • shp_to_df added to convert lines and polygons spatial dataframes to dataframes. Points dataframes can be converted using tibble::as_dataframe (target the @DaTa object).

MINOR IMPROVEMENTS

  • Enhanced documentation added online using pkgdown.
  • load_storm_data directly returns dataframes. Additionally, retrieval by basin and years removed in favor of importing complete product datasets. Additionally, documentation has been added to the website on using data.world as a third option. The difference between these two options is load_storm_data will return complete datasets. Using data.world will allow users to write custom queries to retrieve data. (#76)

BUG FIXES

  • NA

DEPRECATED AND DEFUNCT

  • Not yet deprecated but a warning that al_prblty_stations, cp_prblty_stations and ep_prblty_stations may be removed on a future release. (#46)
  • Support for dplyr 0.5.0 will be removed in future releases in favor of dplyr 0.7.0.

rrricanes 0.1.3

11 Jun 18:49
Compare
Choose a tag to compare

Added

  • rrricanes.http_sleep to control time to sleep between multiple HTTP requests.

Changed

  • Update documentation for get_fstadv, get_prblty, get_wndprb, tidy_fstadv, tidy_wr, tidy_fcst and tidy_fcst_wr.

Removed

  • NA

Deprecated

  • NA

Fixed

  • Correct tidy_fcst and tidy_fcst_wr when all forecast periods do not exist. Previously, was expected that all forecast fields would exist. This may not always be the case. Now works only available forecast periods. (#73)

Security

  • NA

rrricanes 0.1.2 (2017-06-08)

10 Jun 12:38
Compare
Choose a tag to compare

NEW FEATURES

  • Changed name from Hurricanes to rrricanes.

  • get_storm_data can now be chained to other commands and returns a list of dataframes.

  • load_storm_data accesses pre-scraped datasets and returns requested products through the github repo rrricanesdata. This was done to make it quicker to get data. It should not be relied on to get the most immediate data for current storms. However, it should be fairly up-to-date. Original functions can be used if for some reason immediate data access is needed.

  • saffir returns Saffir-Simpson classification of tropical cyclones; abbreviated.

  • status_abbr_to_str converts storm status abbreviations (i.e., TD, TS, HU) to string.

  • twoal and twoep parse tropical weather outlook XML files. Gives current status, if any, of areas of interest in either basin.

MINOR IMPROVEMENTS

  • Modified numerous regex patterns to ensure data quality.
  • tidy_fstadv, tidy_wr, tidy_fcst and tidy_fcst_wr have been added to replaced now-removed fstadv_split().
  • Added loop to make multiple attempts at extracting contents from NHC archives. Options rrricanes.http_timeout and rrricanes.http_attempts added to give user more control over this. Default is 3 attempts with no more than 5 permitted.

BUG FIXES

  • Too many to recall. Apologies.
  • Call to get_storms on some linux distros generated xpath_element error. Corrected. (#67)
  • Modify call to get_storm_data. Replaced css parameter in rvest::html_nodes calls with xpath parameter. Some products (notably, get_prblty) do not have a "pre" tag but are text documents (not HTML). Modified scrape_contents to return full contents if "pre" tag doesn't exist. Tested get_discus and get_public; no errors generated. (#68)

DEPRECATED AND DEFUNCT

  • fstadv_split. See MINOR IMPROVEMENTS for alternatives.