{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "cf8f39b0-7735-4f7c-9178-61bbf2257951", "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import numpy as np\n", "\n", "%load_ext lab_black" ] }, { "cell_type": "code", "execution_count": 2, "id": "66639c20-be5e-4bf6-9b58-98338874f7cc", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'Median value ($) of owner-occupied housing units (percentile)'" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "check = pd.read_csv(\n", " \"/Users/emmausds/j40/data_pipeline/data/score/downloadable/codebook.csv\"\n", ")" ] }, { "cell_type": "code", "execution_count": 3, "id": "5e525e4e-6764-4d4d-9119-b4d400ba022f", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | score_name | \n", "csv_field_type | \n", "csv_label | \n", "excel_label | \n", "calculation_notes | \n", "threshold_category | \n", "notes | \n", "
---|---|---|---|---|---|---|---|
0 | \n", "GEOID10_TRACT | \n", "string | \n", "Census tract ID | \n", "Census tract ID | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
1 | \n", "County Name | \n", "string | \n", "County Name | \n", "County Name | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
2 | \n", "State/Territory | \n", "string | \n", "State/Territory | \n", "State/Territory | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
3 | \n", "Total threshold criteria exceeded | \n", "int64 | \n", "Total threshold criteria exceeded | \n", "Total threshold criteria exceeded | \n", "NaN | \n", "NaN | \n", "Lists out the total number of criteria (where ... | \n", "
4 | \n", "Definition M (communities) | \n", "bool | \n", "Identified as disadvantaged | \n", "Identified as disadvantaged | \n", "NaN | \n", "NaN | \n", "True / False variable for whether a tract is a... | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
77 | \n", "Percentage households below 100% of federal po... | \n", "percentage | \n", "Percentage households below 100% of federal po... | \n", "Percentage households below 100% of federal po... | \n", "Because not all data is available for the Nati... | \n", "NaN | \n", "NaN | \n", "
78 | \n", "Greater than or equal to the 90th percentile f... | \n", "bool | \n", "Greater than or equal to the 90th percentile f... | \n", "Greater than or equal to the 90th percentile f... | \n", "Because not all data is available for the Nati... | \n", "training and workforce development | \n", "NaN | \n", "
79 | \n", "Greater than or equal to the 90th percentile f... | \n", "bool | \n", "Greater than or equal to the 90th percentile f... | \n", "Greater than or equal to the 90th percentile f... | \n", "Because not all data is available for the Nati... | \n", "training and workforce development | \n", "NaN | \n", "
80 | \n", "Greater than or equal to the 90th percentile f... | \n", "bool | \n", "Greater than or equal to the 90th percentile f... | \n", "Greater than or equal to the 90th percentile f... | \n", "Because not all data is available for the Nati... | \n", "training and workforce development | \n", "NaN | \n", "
81 | \n", "Percent of population not currently enrolled i... | \n", "percentage | \n", "Percent of residents who are not currently enr... | \n", "Percent of residents who are not currently enr... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
82 rows × 7 columns
\n", "\n", " | excel_label | \n", "format | \n", "shapefile_column | \n", "notes | \n", "category | \n", "
---|---|---|---|---|---|
score_name | \n", "\n", " | \n", " | \n", " | \n", " | \n", " |
GEOID10_TRACT | \n", "Census tract ID | \n", "string | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
County Name | \n", "County Name | \n", "string | \n", "CF | \n", "NaN | \n", "NaN | \n", "
State/Territory | \n", "State/Territory | \n", "string | \n", "SF | \n", "NaN | \n", "NaN | \n", "
Total threshold criteria exceeded | \n", "Total threshold criteria exceeded | \n", "int64 | \n", "TC | \n", "Lists out the total number of criteria (where ... | \n", "NaN | \n", "
Definition M (communities) | \n", "Identified as disadvantaged | \n", "bool | \n", "SM_C | \n", "True / False variable for whether a tract is a... | \n", "NaN | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
Unemployment (percent) in 2009 (island areas) and 2010 (states and PR) | \n", "Unemployment (percent) in 2009 (island areas) ... | \n", "percentage | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
Percentage households below 100% of federal poverty line in 2009 (island areas) and 2010 (states and PR) | \n", "Percentage households below 100% of federal po... | \n", "percentage | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
Greater than or equal to the 90th percentile for unemployment and has low HS education in 2009 (island areas)? | \n", "Greater than or equal to the 90th percentile f... | \n", "bool | \n", "IAULHSE | \n", "island area information comes from the dicenni... | \n", "training and workforce development | \n", "
Greater than or equal to the 90th percentile for households at or below 100% federal poverty level and has low HS education in 2009 (island areas)? | \n", "Greater than or equal to the 90th percentile f... | \n", "bool | \n", "IAPLHSE | \n", "island area information comes from the dicenni... | \n", "training and workforce development | \n", "
Greater than or equal to the 90th percentile for low median household income as a percent of area median income and has low HS education in 2009 (island areas)? | \n", "Greater than or equal to the 90th percentile f... | \n", "bool | \n", "IALMILHSE | \n", "island area information comes from the dicenni... | \n", "training and workforce development | \n", "
82 rows × 5 columns
\n", "\n", " | excel_label | \n", "format | \n", "shapefile_column | \n", "notes | \n", "category | \n", "
---|---|---|---|---|---|
score_name | \n", "\n", " | \n", " | \n", " | \n", " | \n", " |