Releases: ropensci/rrricanes
rrricanes 0.2.0-6 (2017-07-16)
NEW FEATURES
- NA
MINOR IMPROVEMENTS
get_storms
andget_storm_data
have been rewritten to utilize pkgcrul
's asynchronous features. This will not make much of a difference inget_storms
(and may actually be slightly slower; to be explained). But the difference withget_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 thefstadv
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 loadingrrricanesdata
. See
vignette "installing_rrricanesdata" for more information.
rrricanes 0.2.0-5.1 (2017-07-10)
rrricanes 0.2.0-5 (2017-07-08)
NEW FEATURES
- NA
MINOR IMPROVEMENTS
load_storm_data
now takesreadr::read_csv
parameters.
BUG FIXES
- NA
DEPRECATED AND DEFUNCT
- NA
rrricanes 0.2.0-4
-
Key
variable added todiscus
dataframes.Key
will be NA for all cyclones >= 2005. Should not be <= 2006. (#80) -
Removed
Adv
variable fromposest
dataframes. Position estimates do not have advisory numbers. (#81) -
Removed
Adv
variable fromupdate
. Updates do not have advisory numbers. (#84) -
Added variable
Key
toget_public
dataframes. (#85) -
Added variable
Key
toget_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)
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
andtidy_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)
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 probabilitiesgis_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 usingtibble::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 isload_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
andep_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
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
andtidy_fcst_wr
.
Removed
- NA
Deprecated
- NA
Fixed
- Correct
tidy_fcst
andtidy_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)
NEW FEATURES
-
Changed name from
Hurricanes
torrricanes
. -
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 reporrricanesdata
. 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
andtwoep
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
andtidy_fcst_wr
have been added to replaced now-removedfstadv_split()
.- Added loop to make multiple attempts at extracting contents from NHC archives. Options
rrricanes.http_timeout
andrrricanes.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 inrvest::html_nodes
calls with xpath parameter. Some products (notably,get_prblty
) do not have a "pre" tag but are text documents (not HTML). Modifiedscrape_contents
to return full contents if "pre" tag doesn't exist. Testedget_discus
andget_public
; no errors generated. (#68)
DEPRECATED AND DEFUNCT
fstadv_split
. See MINOR IMPROVEMENTS for alternatives.