Learn R Programming

nzffdr (version 2.1.0)

nzffdr_add_dates: Add dates to a NZFFD dataset

Description

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

Usage

nzffdr_add_dates(fishd)

Value

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

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.

Examples

Run this code
nzffdr_add_dates(nzffdr::nzffdr_data)

Run the code above in your browser using DataLab