Skip to contents

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

Value

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

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.