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)


flee598/nzffdr documentation built on Jan. 8, 2025, 1:31 p.m.