Skip to content

Commit

Permalink
docs: nicer documentation for weatherCodes
Browse files Browse the repository at this point in the history
Modern roxygen2
  • Loading branch information
jack-davison committed Sep 29, 2023
1 parent 12e45d3 commit 373d957
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
12 changes: 6 additions & 6 deletions R/weatherCodes.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#' This data frame consists of the weather description codes used in the ISD. It
#' is not of general use to most users.
#'
#' @name weatherCodes
#' @docType data
#' @keywords datasets
#' \describe{
#' \item{pwc}{Weather code, which can be merged with the `pwc` column in [importNOAA()] datasets.}
#' \item{description}{Description associated with the weather codes.}
#' }
#' @examples
#' ## basic structure
#' head(weatherCodes)
NULL
#' weatherCodes
"weatherCodes"
15 changes: 13 additions & 2 deletions man/weatherCodes.Rd

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

0 comments on commit 373d957

Please sign in to comment.