merge_landings: Merge recent and legacy pre-processed landings

View source: R/merge-landings.R

merge_landingsR Documentation

Merge recent and legacy pre-processed landings

Description

Downloads pre-processed versions of recent and legacy landings from cloud and merge in a rds-format file using the function dplyr::full_join.

Usage

merge_landings(log_threshold = logger::DEBUG)

Arguments

log_threshold

The (standard Apache logj4) log level used as a threshold for the logging infrastructure. See logger::log_levels for more details

Details

The merged file is then uploaded to the cloud. The parameters needed are:

surveys:
  landings:
    file_prefix:
    version:
      preprocess:
  landings_legacy:
    file_prefix:
    version:
      preprocess:
  merged_landings:
    file_prefix:
    version:
storage:
  storage_name:
    key:
    options:
      project:
      bucket:
      service_account_key:

Progress through the function is tracked using the package logger.

Value

No outputs. This function is used for it's side effects


WorldFishCenter/peskas.timor.data.pipeline documentation built on April 14, 2025, 1:47 p.m.