get_monthdays: Compute the first or last day of the month for a given year....

Description Usage Arguments Value See Also

View source: R/days.R

Description

Compute the first or last day of the month for a given year. Useful for retrieving monthly data stored ont the first day of each month.

Usage

1
get_monthdays(year, form = "%j", when = c("first", "last")[1])

Arguments

year

numeric or character the year(s) to compute

form

charcater, by default we return the day of the year

when

character either 'first' or 'last' to indicate the first or last day of the month

Value

a list of character vectors of the last day of the months for the years specified one list element per year

See Also

http://oceancolor.gsfc.nasa.gov/BROWSE_HELP/L3/

Other DAYS: get_8days, get_seasondays


BigelowLab/obpgcrawler documentation built on Nov. 6, 2019, 5:02 a.m.