generated from Datawheel/template-tesseract-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from DataUSA/onet
add onet cubes
- Loading branch information
Showing
5 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<Schema name="tesseract-api" default_locale="en"> | ||
<SharedDimension name="CIP"> | ||
<Hierarchy name="CIP"> | ||
<Table name="ipeds_dims_cip"/> | ||
<Level key_column="cip2" name_column="cip2_name" name="CIP2"> | ||
<Property key_column="cip2_name_long" name="CIP2 Full Name"/> | ||
<Property key_column="cip2_description" name="CIP2 Description"/> | ||
</Level> | ||
<Level key_column="cip4" name_column="cip4_name" name="CIP4"> | ||
<Property key_column="cip4_name_long" name="CIP4 Full Name"/> | ||
<Property key_column="cip4_description" name="CIP4 Description"/> | ||
</Level> | ||
<Level key_column="cip" name_column="cip_name" name="CIP6"> | ||
<Property key_column="cip_name_long" name="CIP6 Full Name"/> | ||
<Property key_column="cip_description" name="CIP6 Description"/> | ||
</Level> | ||
</Hierarchy> | ||
</SharedDimension> | ||
</Schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Schema name="tesseract-api" default_locale="en"> | ||
<SharedDimension name="PUMS Occupation"> | ||
<Hierarchy name="PUMS Occupation"> | ||
<Table name="pums_dims_soc"/> | ||
<Level key_column="great_grandparent" name_column="great_grandparent_name" name="Major Occupation Group"/> | ||
<Level key_column="grandparent" name_column="grandparent_name" name="Minor Occupation Group"/> | ||
<Level key_column="parent" name_column="parent_name" name="Broad Occupation"/> | ||
<Level key_column="id" name_column="name" name="Detailed Occupation"/> | ||
</Hierarchy> | ||
</SharedDimension> | ||
</Schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<Schema name="tesseract-api" default_locale="en"> | ||
<SharedDimension name="Skill Element"> | ||
<Hierarchy name="Skill Element"> | ||
<Table name="dim_skill" /> | ||
<Level name="Skill Element Group" key_column="element_group_id" name_column="element_group_name" key_type="str"/> | ||
<Level name="Skill Element" key_column="element_id" name_column="element_name" key_type="str"/> | ||
</Hierarchy> | ||
</SharedDimension> | ||
</Schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<Schema name="tesseract-api" default_locale="en"> | ||
<Cube name="onet_by_cip"> | ||
<Annotation name="source_name">O*NET Online</Annotation> | ||
<Annotation name="source_description">The O*Net Skills is a dataset containing detailed descriptions of the required and used skills for specific occupations. The O*Net dataset is sponsored by the United States Department of Labor.</Annotation> | ||
<Annotation name="dataset_name">O*NET by Classification of Instructional Programs</Annotation> | ||
<Annotation name="dataset_link">http://www.onetonline.org/</Annotation> | ||
<Annotation name="topic">Education</Annotation> | ||
<Annotation name="subtopic">Skills</Annotation> | ||
|
||
<Table name="onet_by_cip" /> | ||
|
||
<DimensionUsage foreign_key="cip_code" name="CIP" source="CIP" /> | ||
<DimensionUsage name="Skill Element" foreign_key="element_id" source="Skill Element" /> | ||
|
||
<Dimension name="Year" foreign_key="year" type="time"> | ||
<Annotation name="dim_type">TIME</Annotation> | ||
<Hierarchy name="Year" primary_key="Year"> | ||
<Level name="Year" key_column="year" key_type="u16"/> | ||
</Hierarchy> | ||
</Dimension> | ||
|
||
<Measure aggregator="avg" key_column="im" name="IM Value"> | ||
<Annotation name="aggregation_method">NONE</Annotation> | ||
<Annotation name="units_of_measurement">NONE</Annotation> | ||
<Annotation name="details">Not used for presentation</Annotation> | ||
<Annotation name="hide_in_ui">true</Annotation> | ||
</Measure> | ||
|
||
<Measure aggregator="avg" key_column="lv" name="LV Value"> | ||
<Annotation name="aggregation_method">NONE</Annotation> | ||
<Annotation name="units_of_measurement">NONE</Annotation> | ||
<Annotation name="details">Not used for presentation</Annotation> | ||
<Annotation name="hide_in_ui">true</Annotation> | ||
</Measure> | ||
|
||
<Measure aggregator="avg" key_column="total_score" name="Total Score"> | ||
<Annotation name="aggregation_method">NONE</Annotation> | ||
<Annotation name="units_of_measurement">NONE</Annotation> | ||
<Annotation name="details">Calculated by IM Value * LV Value</Annotation> | ||
</Measure> | ||
</Cube> | ||
</Schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<Schema name="tesseract-api" default_locale="en"> | ||
<Cube name="onet_by_pums"> | ||
<Annotation name="source_name">O*NET Online</Annotation> | ||
<Annotation name="source_description">The O*Net Skills is a dataset containing detailed descriptions of the required and used skills for specific occupations. The O*Net dataset is sponsored by the United States Department of Labor.</Annotation> | ||
<Annotation name="dataset_name">O*NET by PUMS Occupation</Annotation> | ||
<Annotation name="dataset_link">http://www.onetonline.org/</Annotation> | ||
<Annotation name="topic">Economy</Annotation> | ||
<Annotation name="subtopic">Skills</Annotation> | ||
|
||
<Table name="onet_by_pums"/> | ||
|
||
<DimensionUsage foreign_key="pums_code" name="PUMS Occupation" source="PUMS Occupation" /> | ||
<DimensionUsage name="Skill Element" foreign_key="element_id" source="Skill Element" /> | ||
|
||
<Dimension name="Year" foreign_key="year" type="time"> | ||
<Annotation name="dim_type">TIME</Annotation> | ||
<Hierarchy name="Year" primary_key="Year"> | ||
<Level name="Year" key_column="year" key_type="u16"/> | ||
</Hierarchy> | ||
</Dimension> | ||
|
||
<Measure aggregator="avg" key_column="im" name="IM Value"> | ||
<Annotations> | ||
<Annotation name="aggregation_method">NONE</Annotation> | ||
<Annotation name="units_of_measurement">NONE</Annotation> | ||
<Annotation name="details">Not used for presentation</Annotation> | ||
<Annotation name="hide_in_ui">true</Annotation> | ||
</Annotations> | ||
</Measure> | ||
|
||
<Measure aggregator="avg" key_column="lv" name="LV Value"> | ||
<Annotations> | ||
<Annotation name="aggregation_method">NONE</Annotation> | ||
<Annotation name="units_of_measurement">NONE</Annotation> | ||
<Annotation name="details">Not used for presentation</Annotation> | ||
<Annotation name="hide_in_ui">true</Annotation> | ||
</Annotations> | ||
</Measure> | ||
|
||
<Measure aggregator="avg" key_column="total_score" name="Total Score"> | ||
<Annotations> | ||
<Annotation name="aggregation_method">NONE</Annotation> | ||
<Annotation name="units_of_measurement">NONE</Annotation> | ||
<Annotation name="details">Calculated by IM Value * LV Value</Annotation> | ||
</Annotations> | ||
</Measure> | ||
</Cube> | ||
</Schema> |