Skip to content

Commit

Permalink
Standardise temporal_api capitalisation in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Aug 26, 2024
1 parent 4ad38a2 commit 4844c7f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions R/get_power.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
#' @param pars case-intensive character vector of solar, meteorological or
#' climatology parameters to download. When requesting a single point of x, y
#' coordinates, a maximum of twenty (20) `pars` can be specified at one time,
#' for \dQuote{DAILY}, \dQuote{MONTHLY} and \dQuote{climatology}
#' for \dQuote{daily}, \dQuote{monthly} and \dQuote{climatology}
#' `temporal_api`s. If the `temporal_api` is specified as \dQuote{hourly}
#' only 15 `pars` can be specified in a single query. See `temporal_api` for
#' more. These values are checked internally for validity before sending the
#' query to the \acronym{POWER} \acronym{API}.
#' @param temporal_api A case-intensive character vector providing the temporal
#' \acronym{API} end-point for data being queried, supported values are
#' \dQuote{hourly}, \dQuote{DAILY}, \dQuote{MONTHLY} or \dQuote{climatology}.
#' Defaults to \dQuote{DAILY}. See argument details for more.
#' \dQuote{hourly}, \dQuote{daily}, \dQuote{monthly} or \dQuote{climatology}.
#' Defaults to \dQuote{daily}. See argument details for more.
#' @param lonlat A numeric vector of geographic coordinates for a cell or region
#' entered as x, y (longitude, latitude) coordinates. See argument details
#' for more.
Expand Down Expand Up @@ -162,7 +162,7 @@
#' lonlat = c(151.81, -27.48),
#' pars = c("RH2M", "T2M", "PRECTOTCORR"),
#' dates = "1985-01-01",
#' temporal_api = "DAILY"
#' temporal_api = "daily"
#' )
#'
#' ag_d
Expand All @@ -182,7 +182,7 @@
#' community = "RE",
#' lonlat = c(112.5, -55.5, 115.5, -50.5),
#' dates = c("1984", "1985"),
#' temporal_api = "MOHTHLY",
#' temporal_api = "monthly",
#' pars = c("CLRSKY_SFC_SW_DWN", "ALLSKY_SFC_SW_DWN")
#' )
#'
Expand Down
10 changes: 5 additions & 5 deletions man/get_power.Rd

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

0 comments on commit 4844c7f

Please sign in to comment.