ncss_base_url: Generate a NCSS url for the given year, variable and region

View source: R/ncss.R

ncss_base_urlR Documentation

Generate a NCSS url for the given year, variable and region

Description

Generate a NCSS url for the given year, variable and region

Usage

ncss_base_url(
  year = format(Sys.Date() - 365, "%Y"),
  var = "dayl",
  region = "na",
  version = daymet_version(),
  root = ncss_root_url()
)

Arguments

year

character or numeric, 4 digit year to access

var

character, the variable name

region

character, the name of the region (default 'na')

version

character, "v4"

root

character, the root URL

Value

the base url


BigelowLab/daymet documentation built on Aug. 29, 2023, 8:21 a.m.