Skip to content

process_foreign_data adds years from 21A #76

Description

@andybeet

When processing NAFO data, there are missing data for entire years in the 21B data. These years are supplimented by total landing by species from the 21A data (2003,2008,2009)

When initiating a pull using specified years get_comland_data(channel,filterByYear = 1964:1999) the data from 21A is included in the returned data object.

This needs to be fixed. The 21A data is read in in the process_foreign_data()

eg.

a <- comlandr::get_comland_data(channel,filterByYear = 1964:1999)
a$comland |> dplyr::filter(YEAR>1999)

results in this

Image

No data post 1999 should be present. This could just be filtered out prior to returning the object in get_comland_data. not sure what is best

Metadata

Metadata

Assignees

Labels

bugUnexpected or undesirable behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions