Skip to content

Commit

Permalink
update pytesseract and change in ipeds measures (median)
Browse files Browse the repository at this point in the history
  • Loading branch information
hermosillajelmy committed Sep 12, 2024
1 parent ba61be0 commit 3a10ade
Show file tree
Hide file tree
Showing 9 changed files with 108 additions and 56 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ python = "^3.8"
granian = "^1.4.0"
logiclayer = "^0.4.0"
logiclayer-complexity = "^0.5.4"
tesseract-olap = {extras = ["clickhouse", "redis"], version = "^0.10.1"}
tesseract-olap = {extras = ["clickhouse", "redis"], version = "^0.10.3"}

[tool.poetry.group.dev.dependencies]
granian = {extras = ["reload"], version = "^1.4.0"}
Expand Down
2 changes: 1 addition & 1 deletion schema/ipeds_completions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<Annotation name="details">Number of awards or degrees conferred</Annotation>
</Measure>

<Measure name="Number Of Universities" key_column="university" aggregator="count"><!--distinct-count-->
<Measure name="Number Of Universities" key_column="university" aggregator="distinct_count">
<Annotation name="details">Number of distinct universities aggregated</Annotation>
<Annotation name="aggregation_method">distinct-count</Annotation>
<Annotation name="units_of_measurement">Universities</Annotation>
Expand Down
5 changes: 4 additions & 1 deletion schema/ipeds_enrollment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@
<Annotation name="units_of_measurement">People</Annotation>
</Measure>

<Measure name="Number Of Institutions" key_column="num_enrolled" aggregator="count"> <!--distinct-count-->
<!--<Measure name="Number Of Institutions" key_column="num_enrolled" aggregator="distinct_count">
<Annotation name="units_of_measurement">Universities</Annotation>
</Measure>-->
<Measure name="Number Of Institutions" key_column="university" aggregator="distinct_count">
<Annotation name="units_of_measurement">Universities</Annotation>
</Measure>
</Cube>
Expand Down
18 changes: 12 additions & 6 deletions schema/ipeds_finance_expenses.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
<Annotation name="units_of_measurement">USD</Annotation>
</Measure>

<Measure name="Median Salary Expenses" aggregator="median" key_column="salaries_expense">
<Measure name="Median Salary Expenses" key_column="salaries_expense">
<Aggregation type="quantile" quantile-level="0.5" />
<Annotation name="units_of_measurement">USD</Annotation>
<Annotation name="aggregation_method">MEDIAN</Annotation>
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
Expand All @@ -41,7 +42,8 @@
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
</Measure>

<Measure name="Median Other Expenses" aggregator="median" key_column="other_expense">
<Measure name="Median Other Expenses" key_column="other_expense">
<Aggregation type="quantile" quantile-level="0.5" />
<Annotation name="units_of_measurement">USD</Annotation>
<Annotation name="aggregation_method">MEDIAN</Annotation>
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
Expand All @@ -52,7 +54,8 @@
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
</Measure>

<Measure name="Median Operation Expenses" aggregator="median" key_column="ops_expense">
<Measure name="Median Operation Expenses" key_column="ops_expense">
<Aggregation type="quantile" quantile-level="0.5" />
<Annotation name="units_of_measurement">USD</Annotation>
<Annotation name="aggregation_method">MEDIAN</Annotation>
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
Expand All @@ -63,7 +66,8 @@
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
</Measure>

<Measure name="Median Interest Expenses" aggregator="median" key_column="interest_expense">
<Measure name="Median Interest Expenses" key_column="interest_expense">
<Aggregation type="quantile" quantile-level="0.5" />
<Annotation name="units_of_measurement">USD</Annotation>
<Annotation name="aggregation_method">MEDIAN</Annotation>
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
Expand All @@ -74,7 +78,8 @@
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
</Measure>

<Measure name="Median Depreciation Expenses" aggregator="median" key_column="dep_expense">
<Measure name="Median Depreciation Expenses" key_column="dep_expense">
<Aggregation type="quantile" quantile-level="0.5" />
<Annotation name="units_of_measurement">USD</Annotation>
<Annotation name="aggregation_method">MEDIAN</Annotation>
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
Expand All @@ -85,7 +90,8 @@
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
</Measure>

<Measure name="Median Benefits Expenses" aggregator="median" key_column="benefits_expense">
<Measure name="Median Benefits Expenses" key_column="benefits_expense">
<Aggregation type="quantile" quantile-level="0.5" />
<Annotation name="units_of_measurement">USD</Annotation>
<Annotation name="aggregation_method">MEDIAN</Annotation>
<Annotation name="details">Covers Public and Private Not For Profit Institutions</Annotation>
Expand Down
Loading

0 comments on commit 3a10ade

Please sign in to comment.