Select Git revision
addSeason.Rd
Forked from
SERG / dataCleaning
Source project has a limited visibility.
-
Ben Anderson authoredBen Anderson authored
addSeason.Rd 609 B
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/addSeason.R
\name{addSeason}
\alias{addSeason}
\title{Add season to a data.table depending on hemisphere}
\usage{
addSeason(dt, dateVar, h)
}
\arguments{
\item{dt}{the data table}
\item{dateVar}{the column in the dt which is a date that lubridate::month() will work on}
\item{h}{hemisphere: North (N) or South (S)?}
}
\description{
\code{addSeason} returns a dt with hemisphere season (Winter, Spring, Summer, Autumn) added - assume temperature latitudes
}
\author{
Ben Anderson, \email{b.anderson@soton.ac.uk}
}
\concept{utils}