nzffdr_add_dates: Add dates to a NZFFD dataset

View source: R/nzffdr_add_dates.R

nzffdr_add_datesR Documentation

Add dates to a NZFFD dataset

Description

Add year, month and day columns to a NZFFD dataset.

Usage

nzffdr_add_dates(fishd)

Arguments

fishd

a dataframe imported from the NZFFD using nzffdr_import(), which contains the column "eventDate"

Details

Adds year, month and day columns to a NZFFD dataset, based on values in the "eventDate" column.

Value

a NZFFD dataframe, with year, month and day columns added.

Examples

nzffdr_add_dates(nzffdr::nzffdr_data)


nzffdr documentation built on Nov. 10, 2022, 5:51 p.m.