Skip to content

Commit

Permalink
Correct invalid URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
timtrice committed Dec 5, 2020
1 parent 7ec5031 commit ecc8a6e
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Depends:
Description: Scraped dataset of the Hurricane Research Division's Hurricane
Re-Analysis Project known as HURDAT. Storm details are available for most
known hurricanes and tropical storms for the Atlantic and northeastern
Pacific ocean (northwestern hemisphere). See <http://www.aoml.noaa.gov/hrd/hurdat/Data_Storm.html>
Pacific ocean (northwestern hemisphere). See <https://www.aoml.noaa.gov/hrd/hurdat/Data_Storm.html>
for more information.
URL: https://github.com/timtrice/HURDAT
BugReports: https://github.com/timtrice/HURDAT/issues
Expand Down
14 changes: 7 additions & 7 deletions R/hurdat.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
#' Cyclones were not named until 1950 and used names of the international
#' phonetic alphabet. For example, Able, Baker, Charlie, etc.
#'
#' In 1953, the \href{http://www.nhc.noaa.gov}{National Hurricane Center} began
#' In 1953, the \href{https://www.nhc.noaa.gov}{National Hurricane Center} began
#' using female names and by 1954 the NHC would retire some names for storms of
#' significance. Currently the
#' \href{https://public.wmo.int/en/About-us/FAQs/faqs-tropical-cyclones/tropical-cyclone-naming}{World
#' \href{https://public.wmo.int/en/our-mandate/focus-areas/natural-hazards-and-disaster-risk-reduction/tropical-cyclones/Naming}{World
#' Meteorological Organization}
#' is responsible for maintaining the list of names, retiring names and
#' assigning replacement names.
Expand Down Expand Up @@ -68,7 +68,7 @@
#'
#' Errors in the raw data may also be reported to Chris Landsea or the National
#' Hurricane Center Best Track Change Committee
#' \href{http://www.aoml.noaa.gov/hrd/hurdat/submit_re-analysis.html}{as
#' \href{https://www.aoml.noaa.gov/hrd/hurdat/submit_re-analysis.html}{as
#' explained on the HRD website}.
#'
#' @docType package
Expand Down Expand Up @@ -112,14 +112,14 @@ audit_hurdat <- function(df) {
#' (EP) basins (northwestern hemisphere)
#'
#' @details Raw text files \emph{should} be found at
#' \url{http://www.nhc.noaa.gov/data/hurdat/} as of this writing. The
#' \url{https://www.nhc.noaa.gov/data/hurdat/} as of this writing. The
#' codebooks are listed below.
#'
#' @seealso Atlantic codebook:
#' \url{http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf}
#' \url{https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf}
#'
#' @seealso NE/NC Pacific codebook:
#' \url{http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf}
#' \url{https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf}
#'
#' @param basin AL or EP. Default is both.
#'
Expand Down Expand Up @@ -278,7 +278,7 @@ parse_hurdat <- function(x) {
.data$Key, .data$Name, .data$DateTime, .data$Record:.data$Lat,
.data$Lon, .data$Wind:.data$NW64
)

hurdat <- unique(hurdat)

# Run audit and throw warning if any issues.
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ output: github_document
[![Build Status](https://img.shields.io/travis/timtrice/HURDAT/develop.svg)](https://travis-ci.org/timtrice/HURDAT)
[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/timtrice/HURDAT/develop.svg)](https://ci.appveyor.com/project/timtrice/HURDAT)
[![codecov](https://codecov.io/gh/timtrice/HURDAT/branch/master/graph/badge.svg)](https://codecov.io/gh/timtrice/HURDAT)
[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/timtrice/hurdat.svg?style=popout)](https://cloud.docker.com/repository/docker/timtrice/hurdat)
[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/timtrice/hurdat.svg?style=popout)](https://hub.docker.com/repository/docker/timtrice/hurdat)
[![rstudio.cloud](https://img.shields.io/badge/launch-rstudio.cloud-yellowgreen.svg)](https://rstudio.cloud/project/415701)


Expand Down Expand Up @@ -50,7 +50,7 @@ Please read [CONTRIBUTING.md](https://github.com/timtrice/HURDAT/blob/master/.gi

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/timtrice/HURDAT/tags).
We use [SemVer](https://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/timtrice/HURDAT/tags).

## Authors

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Status](https://img.shields.io/travis/timtrice/HURDAT/develop.svg)](https://trav
Status](https://img.shields.io/appveyor/ci/timtrice/HURDAT/develop.svg)](https://ci.appveyor.com/project/timtrice/HURDAT)
[![codecov](https://codecov.io/gh/timtrice/HURDAT/branch/master/graph/badge.svg)](https://codecov.io/gh/timtrice/HURDAT)
[![Docker Cloud Build
Status](https://img.shields.io/docker/cloud/build/timtrice/hurdat.svg?style=popout)](https://cloud.docker.com/repository/docker/timtrice/hurdat)
Status](https://img.shields.io/docker/cloud/build/timtrice/hurdat.svg?style=popout)](https://hub.docker.com/repository/docker/timtrice/hurdat)
[![rstudio.cloud](https://img.shields.io/badge/launch-rstudio.cloud-yellowgreen.svg)](https://rstudio.cloud/project/415701)

# HURDAT
Expand Down Expand Up @@ -53,7 +53,7 @@ requests to us.

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions
We use [SemVer](https://semver.org/) for versioning. For the versions
available, see the [tags on this
repository](https://github.com/timtrice/HURDAT/tags).

Expand Down
2 changes: 2 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ winbuilder give a NOTE regarding the Author field.
Package errors were not corrected in a timely fashion and removed from CRAN.
This release resolves those errors.

Invalid URL's corrected.

## HURDAT v0.2.3
================

Expand Down
6 changes: 3 additions & 3 deletions man/HURDAT.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/get_hurdat.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vignettes/hurdat.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ library(HURDAT)

## Introduction

HURDAT is a re-analysis project of all tropical cyclones by the National Hurricane Center (NHC) Hurricane Research Division(NRD). Known as HURDAT2, the text files are typically updated in late winter, early spring to include the previous season's activity. These text files *will not* contain data on current tropical systems. For that I would recommend my [Hurricanes](https://github.com/timtrice/Hurricanes) package (not yet available in CRAN).
HURDAT is a re-analysis project of all tropical cyclones by the National Hurricane Center (NHC) Hurricane Research Division(NRD). Known as HURDAT2, the text files are typically updated in late winter, early spring to include the previous season's activity. These text files *will not* contain data on current tropical systems. For that I would recommend my [rrricanes](https://github.com/ropensci/rrricanes) package (not yet available in CRAN).

As of this vignette data up to and including 2016 has been added.

Expand All @@ -41,7 +41,7 @@ AL <- get_hurdat(basin = "AL")

Most of the early storms will have missing data.

The [Atlantic HURDAT codebook](http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf) contains the definitions of the various fields. A codebook also exists for the [northeast and central Pacific](http://www.nhc.noaa.gov/data/hurdat/hurdat2-format-nencpac.pdf).
The [Atlantic HURDAT codebook](https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-atlantic.pdf) contains the definitions of the various fields. A codebook also exists for the [northeast and central Pacific](https://www.nhc.noaa.gov/data/hurdat/hurdat2-format-nencpac.pdf).

There are significantly more storms for the Atlantic than in the eastern Pacific. There are only a few storms for the central Pacific.

Expand Down

0 comments on commit ecc8a6e

Please sign in to comment.