
Merge Legacy and Ongoing Landings Data
merge_landings.Rd
This function merges preprocessed legacy landings data with ongoing landings data from Google Cloud Storage. It combines the datasets, performs minimal transformations, and uploads the merged result as a Parquet file.
Usage
merge_landings(log_threshold = logger::DEBUG)
Value
No return value. Function processes the data and uploads the result as a Parquet file to Google Cloud Storage.
Details
The function performs the following main operations:
Downloads preprocessed legacy data from Google Cloud Storage.
Downloads preprocessed ongoing data from Google Cloud Storage.
Combines the two datasets using
dplyr::bind_rows()
, adding a 'version' column to distinguish the sources.Selects and orders relevant columns for the final merged dataset.
Uploads the merged data as a Parquet file to Google Cloud Storage.