format_obis_date: Extract separate year, month and day information from obis...

Description Usage Arguments Details

Description

The function takes an OBIS occurrence data set and uses its eventDate columns to extract year, month and day information.

Usage

1
format_obis_date(obis_data)

Arguments

obis_data

is a data.frame of OBIS occurrence data obtained using robis::occurrence or merpWS::plot_obis

Details

format_obis_date formats the "eventDate" column in the data frame returned by robis::occurrence function. The eventDate entry is of the form yyyy-mm-dd hh:mm:ss, a format that needs splitting into year, month and day information to be useful.


MarineEcosystemResearchProgramme/merpData documentation built on May 7, 2019, 2:51 p.m.