From 0d814801331eb1415c99b40559215bd3c1fb3705 Mon Sep 17 00:00:00 2001 From: Jorge Escobar Date: Wed, 6 Jul 2022 16:24:23 -0400 Subject: [PATCH] sort order --- .../data_pipeline/etl/score/schemas/datasets.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/data/data-pipeline/data_pipeline/etl/score/schemas/datasets.py b/data/data-pipeline/data_pipeline/etl/score/schemas/datasets.py index 369e8c15..ff52c182 100644 --- a/data/data-pipeline/data_pipeline/etl/score/schemas/datasets.py +++ b/data/data-pipeline/data_pipeline/etl/score/schemas/datasets.py @@ -38,13 +38,13 @@ class DatasetsConfig: df_field_name (str): Name for the field in the etl class. long_name (str): Column name for the dataset's output csv. field_type (FieldType): An enum that dictates what type of field this is. This will be used on the `etl_score_post` - for the data manipulation. - The `by_value` metadata prop will load the field type's Enum value instead of the index, i.e. "string" and not STRING - reverse_percentile (Optional bool): An optional bool to denote this field to be a reverse_percentile. + for the data manipulation. The `by_value` metadata prop will load the field type's Enum value instead of the index, i.e. "string" + and not STRING reverse_percentile (Optional bool): An optional bool to denote this field to be a reverse_percentile. TODO: data/data-pipeline/data_pipeline/etl/score/etl_score.py:477 include_in_tiles (bool): Include this field on the tile export. include_in_csv (bool): Include this field on the CSV export. include_in_excel (bool): Include this field on the Excel export. + column_in_position (int): column position in CSV and Excel files """ short_name: str @@ -55,6 +55,7 @@ class DatasetsConfig: include_in_tiles: bool include_in_csv: bool include_in_excel: bool + column_position: int long_name: str short_name: str