Skip to content

Commit

Permalink
add notebook to check results for dim_county_geography
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanychu90 committed Nov 7, 2024
1 parent e236888 commit 098e5a5
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions _shared_utils/shared_utils/add_dim_county_geog.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "4ee66ea4-c26c-460f-81ef-f98b3ab249c7",
"metadata": {},
"outputs": [],
Expand All @@ -15,10 +15,21 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "a0263896-0115-4d80-8b9e-730a7b5a5368",
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"text/plain": [
"'\\nfrom calitp_data_analysis.tables import tbls\\nfrom siuba import *\\n\\nbridge_orgs_county_geog = (\\n tbls.mart_transit_database.bridge_organizations_x_headquarters_county_geography()\\n >> collect()\\n)\\n\\nbridge_orgs_county_geog.to_parquet(\"bridge_orgs_county_geog.parquet\")\\n\\ndim_county_geography = (\\n tbls.mart_transit_database.dim_county_geography()\\n >> collect()\\n)\\n\\ndim_county_geography.to_parquet(\"dim_county_geography.parquet\")\\n\\ndim_organizations = (\\n tbls.mart_transit_database.dim_organizations()\\n >> collect()\\n)\\n\\ndim_organizations.to_parquet(\"dim_organizations.parquet\")\\n\\nbridge_orgs_county_geog = pd.read_parquet(\"bridge_orgs_county_geog.parquet\")\\ndim_county_geography = pd.read_parquet(\"dim_county_geography.parquet\")\\ndim_organizations = pd.read_parquet(\"dim_organizations.parquet\")\\n'"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"'''\n",
"from calitp_data_analysis.tables import tbls\n",
Expand Down Expand Up @@ -53,7 +64,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"id": "1aa7fa60-b28f-4530-8e8c-6ba29987286f",
"metadata": {},
"outputs": [],
Expand Down

0 comments on commit 098e5a5

Please sign in to comment.