Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add annual tag to ingest pipeline #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"institutions": f"pg_institutions_{year}",
},
outputs=f"count_verification_passed_{year}",
tags=[f"{year}_Filing_Season"],
tags=[f"{year}_Filing_Season", f"{year}_Annual_Filing_Season"],
name=f"validate_counts_for_{year}",
),
# write LAR partitions from postgres to parquet files
Expand All @@ -47,7 +47,7 @@
"count_verification_passed": f"count_verification_passed_{year}",
},
outputs=f"lar_raw_parquets_{year}",
tags=[f"{year}_Filing_Season"],
tags=[f"{year}_Filing_Season", f"{year}_Annual_Filing_Season"],
name=f"write_raw_lar_partitions_to_parquet_files_{year}",
),
# write email domains table to parquet file
Expand All @@ -58,7 +58,7 @@
"params:pg_institutions_email_domains_dtypes",
],
outputs=f"institutions_email_domains_raw_parquet_{year}",
tags=[f"{year}_Filing_Season"],
tags=[f"{year}_Filing_Season", f"{year}_Annual_Filing_Season"],
name=f"write_institutions_email_domains_table_to_parquet_file_{year}",
),
# write institutions table to parquet file
Expand All @@ -70,7 +70,7 @@
f"count_verification_passed_{year}",
],
outputs=f"institutions_raw_parquet_{year}",
tags=[f"{year}_Filing_Season"],
tags=[f"{year}_Filing_Season", f"{year}_Annual_Filing_Season"],
name=f"write_institutions_table_to_parquet_file_{year}",
),
# write transmittal sheet table to parquet file
Expand All @@ -82,14 +82,14 @@
f"count_verification_passed_{year}",
],
outputs=f"ts_raw_parquet_{year}",
tags=[f"{year}_Filing_Season"],
tags=[f"{year}_Filing_Season", f"{year}_Annual_Filing_Season"],
name=f"write_ts_table_to_parquet_file_{year}",
),
node(
get_state_county_code_mapping,
inputs=[f"pg_cbsa_county_name_{year}", "params:pg_state_county_dtypes"],
outputs=f"state_county_mapping_{year}",
tags=f"{year}_Filing_Season",
tags=[f"{year}_Filing_Season", f"{year}_Annual_Filing_Season"],
name=f"generate_state_county_mapping_for_reports_for_{year}",
),
]
Expand Down