R/fredr_docs.R

Defines functions fredr_docs

Documented in fredr_docs

#' Open the web documentation for a certain FRED API topic.
#'
#' Opens FRED API web documentation in a new web browser tab.
#'
#' @section API Documentation:
#'
#' [FRED API](https://fred.stlouisfed.org/docs/api/fred/)
#'
#' @examples
#' if (interactive()) {
#' fredr_docs()
#' }
#' @export
fredr_docs <- function() {
  utils::browseURL(url = "https://fred.stlouisfed.org/docs/api/fred/")
}

Try the fredr package in your browser

Any scripts or data that you put into this service are public.

fredr documentation built on Jan. 30, 2021, 1:06 a.m.