Assign missing fleets based on nearest date within range for same cfv.
Source:R/fs_fleet_by_date.R
fs_fleet_by_date.Rd
Assign missing fleets based on nearest date within range for same cfv.
Arguments
- df
A data frame containing columns: cfv, year, fleet, dateland in format "%Y%m%d"
- match.type
Match with dates that are either 'exact', 'same.year', 'previous.year'. Default is 'exact' date. For 'same.year' and 'previous.year', 'num.days' must be specified.
- num.days
Plus and minus days around date to search.