ingest_landings_v2: Ingest V2 Landings Survey data

View source: R/ingest-landings.R

ingest_landings_v2R Documentation

Ingest V2 Landings Survey data

Description

Downloads landings information for multiple surveys collected using Kobo Toolbox and uploads it to cloud storage services.

Usage

ingest_landings_v2(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

This function downloads the survey metadata and responses for landing surveys v2. It then uploads this information to cloud services. File names contain a versioning string that includes the date-time and, if available, the first 7 digits of the git commit sha, accomplished using add_version().

The parameters needed in conf.yml are:

surveys:
  kobo_username:
  kobo_password:
  landings_2:
    file_prefix:
    asset_id:
storage:
  storage_name:
    key:
    options:
      project:
      bucket:
      service_account_key:

Progress through the function is tracked using the package logger.

Value

No output. This function is used for its side effects


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