Skip to content

peskas.timor.data.pipeline 0.1.0

Compare
Choose a tag to compare
@efcaguab efcaguab released this 23 Mar 05:08
· 583 commits to main since this release

Adds infrastructure to download survey data and upload it to cloud storage providers and implements the ingestion of East Timor landings.

New features

  • The ingestion of East Timor Landings is implemented in ingest_timor_landings().
  • The functions download_survey_data() and download_survey_metadata() which download data and metadata for an electronic survey hosted by kobo, kobohr, or ona.
  • download_survey() can be used as a wrapper to download data and metadata in a single call.
  • upload_cloud_file() can be used to upload a set of files to a cloud storage bucket. Currently only Google Cloud Services (GCS) is supported.
  • add_version() is an utility function that appends date-time and sha information to a string and is used to version file names.
  • get_host_url() is an utility function that gets the host url of an electronic survey provider API.

Pipeline

The data pipeline is implemented and run in GitHub Actions on a schedule.