Flatten event and occurrence records.

flatten_occurrence(event, occurrence, field = "eventID", fields = NULL)

Arguments

event

The event records.

occurrence

The occurrence records.

field

The eventID field name in the extension records.

fields

Fields to be inherited from the events, if NULL all Event Core fields will be inherited.

Value

Flattened occurrence records.