Query the Data Delivery Network
Query the DDNThe easiest way to query any data on Splitgraph is via the "Data Delivery Network" (DDN). The DDN is a single endpoint that speaks the PostgreSQL wire protocol. Any Splitgraph user can connect to it at data.splitgraph.com:5432
and query any version of over 40,000 datasets that are hosted or proxied by Splitgraph.
For example, you can query the housing_trends_per_zip_code_acs_11_5_yr_dp04
table in this repository, by referencing it like:
"bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65:latest"."housing_trends_per_zip_code_acs_11_5_yr_dp04"
or in a full query, like:
SELECT
":id", -- Socrata column ID
"_58_percent_units_in_structure_mobile_home",
"_268_estimate_house_heating_fuel_wood",
"_7_percent_margin_of_error_housing_occupancy_total_housing_unit",
"_431_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_199_percent_margin_of_error_year_householder_moved_into_unit_o",
"_227_percent_margin_of_error_vehicles_available_occupied_housin",
"_235_percent_margin_of_error_vehicles_available_1_vehicle_avail",
"_30_percent_units_in_structure_1_unit_detached",
"_35_percent_margin_of_error_units_in_structure_1_unit_attached",
"_36_estimate_units_in_structure_2_units",
"_38_percent_units_in_structure_2_units",
"_247_percent_margin_of_error_house_heating_fuel_occupied_housin",
"_317_margin_of_error_value_owner_occupied_units",
"_303_percent_margin_of_error_occupants_per_room_occupied_housin",
"_413_margin_of_error_selected_monthly_owner_costs_smoc_100_to_1",
"_27_percent_margin_of_error_units_in_structure_total_housing_un",
"_19_percent_margin_of_error_housing_occupancy_homeowner_vacancy",
"_430_percent_selected_monthly_owner_costs_smoc_median_dollars",
"_151_percent_margin_of_error_bedrooms_total_housing_units",
"_287_percent_margin_of_error_selected_characteristics_occupied_",
"_107_percent_margin_of_error_rooms_total_housing_units",
"_218_percent_year_householder_moved_into_unit_moved_in_1970_to_",
"_222_percent_year_householder_moved_into_unit_moved_in_1969_or_",
"_223_percent_margin_of_error_year_householder_moved_into_unit_m",
"_231_percent_margin_of_error_vehicles_available_no_vehicles_ava",
"_239_percent_margin_of_error_vehicles_available_2_vehicles_avai",
"_241_margin_of_error_vehicles_available_3_or_more_vehicles_avai",
"_243_percent_margin_of_error_vehicles_available_3_or_more_vehic",
"_254_percent_house_heating_fuel_bottled_tank_or_lp_gas",
"_255_percent_margin_of_error_house_heating_fuel_bottled_tank_or",
"_266_percent_house_heating_fuel_coal_or_coke",
"_267_percent_margin_of_error_house_heating_fuel_coal_or_coke",
"_269_margin_of_error_house_heating_fuel_wood",
"_270_percent_house_heating_fuel_wood",
"_274_percent_house_heating_fuel_solar_energy",
"_275_percent_margin_of_error_house_heating_fuel_solar_energy",
"_103_percent_margin_of_error_year_structure_built_built_1939_or",
"_116_estimate_rooms_3_rooms",
"_117_margin_of_error_rooms_3_rooms",
"_123_percent_margin_of_error_rooms_4_rooms",
"_124_estimate_rooms_5_rooms",
"_153_margin_of_error_bedrooms_no_bedroom",
"_158_percent_bedrooms_1_bedroom",
"_161_margin_of_error_bedrooms_2_bedrooms",
"_163_percent_margin_of_error_bedrooms_2_bedrooms",
"_169_margin_of_error_bedrooms_4_bedrooms",
"_177_margin_of_error_housing_tenure_occupied_housing_units",
"_180_estimate_housing_tenure_owner_occupied",
"_185_margin_of_error_housing_tenure_renter_occupied",
"_214_percent_year_householder_moved_into_unit_moved_in_1980_to_",
"_234_percent_vehicles_available_1_vehicle_available",
"_271_percent_margin_of_error_house_heating_fuel_wood",
"point_x_city",
":@computed_region_s8vt_86fu",
"_11_percent_margin_of_error_housing_occupancy_occupied_housing_",
"_15_percent_margin_of_error_housing_occupancy_vacant_housing_un",
"_18_percent_housing_occupancy_homeowner_vacancy_rate",
"_20_estimate_housing_occupancy_rental_vacancy_rate",
"_21_margin_of_error_housing_occupancy_rental_vacancy_rate",
"_22_percent_housing_occupancy_rental_vacancy_rate",
"_23_percent_margin_of_error_housing_occupancy_rental_vacancy_ra",
"_51_percent_margin_of_error_units_in_structure_10_to_19_units",
"_55_percent_margin_of_error_units_in_structure_20_or_more_units",
"_56_estimate_units_in_structure_mobile_home",
"_59_percent_margin_of_error_units_in_structure_mobile_home",
"_63_percent_margin_of_error_units_in_structure_boat_rv_van_etc",
"_67_percent_margin_of_error_year_structure_built_total_housing_",
"_76_estimate_year_structure_built_built_1990_to_1999",
"_90_percent_year_structure_built_built_1960_to_1969",
"_457_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_458_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_462_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_467_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_470_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_476_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_484_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_492_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_494_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_495_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_514_percent_gross_rent_500_to_749",
"_519_percent_margin_of_error_gross_rent_750_to_999",
"_529_margin_of_error_gross_rent_median_dollars",
"_530_percent_gross_rent_median_dollars",
"_531_percent_margin_of_error_gross_rent_median_dollars",
"_534_percent_gross_rent_no_rent_paid",
"_535_percent_margin_of_error_gross_rent_no_rent_paid",
"_539_percent_margin_of_error_gross_rent_as_a_percentage_of_hous",
"_546_percent_gross_rent_as_a_percentage_of_household_income_gra",
"_548_estimate_gross_rent_as_a_percentage_of_household_income_gr",
"_554_percent_gross_rent_as_a_percentage_of_household_income_gra",
"_566_percent_gross_rent_as_a_percentage_of_household_income_gra",
":@computed_region_itb6_w327",
":@computed_region_23ia_pkqc",
":@computed_region_tx27_6f7w",
"point_x_zip",
"point_x",
"_33_margin_of_error_units_in_structure_1_unit_attached",
"_44_estimate_units_in_structure_5_to_9_units",
"_47_percent_margin_of_error_units_in_structure_5_to_9_units",
"_57_margin_of_error_units_in_structure_mobile_home",
"_62_percent_units_in_structure_boat_rv_van_etc",
"_64_estimate_year_structure_built_total_housing_units",
"_82_percent_year_structure_built_built_1980_to_1989",
"_87_percent_margin_of_error_year_structure_built_built_1970_to_",
"_238_percent_vehicles_available_2_vehicles_available",
"_248_estimate_house_heating_fuel_utility_gas",
"_249_margin_of_error_house_heating_fuel_utility_gas",
"_264_estimate_house_heating_fuel_coal_or_coke",
"_277_margin_of_error_house_heating_fuel_other_fuel",
"_283_percent_margin_of_error_house_heating_fuel_no_fuel_used",
"_285_margin_of_error_selected_characteristics_occupied_housing_",
"_300_estimate_occupants_per_room_occupied_housing_units",
"_332_estimate_value_150_000_to_199_999",
"_92_estimate_year_structure_built_built_1950_to_1959",
"_104_estimate_rooms_total_housing_units",
"_105_margin_of_error_rooms_total_housing_units",
"_106_percent_rooms_total_housing_units",
"_115_percent_margin_of_error_rooms_2_rooms",
"_127_percent_margin_of_error_rooms_5_rooms",
"_135_percent_margin_of_error_rooms_7_rooms",
"_137_margin_of_error_rooms_8_rooms",
"_138_percent_rooms_8_rooms",
"_145_margin_of_error_rooms_median_rooms",
"_146_percent_rooms_median_rooms",
"_147_percent_margin_of_error_rooms_median_rooms",
"_155_percent_margin_of_error_bedrooms_no_bedroom",
"_160_estimate_bedrooms_2_bedrooms",
"_167_percent_margin_of_error_bedrooms_3_bedrooms",
"_179_percent_margin_of_error_housing_tenure_occupied_housing_un",
"_183_percent_margin_of_error_housing_tenure_owner_occupied",
"_189_margin_of_error_housing_tenure_average_household_size_of_o",
"_191_percent_margin_of_error_housing_tenure_average_household_s",
"_193_margin_of_error_housing_tenure_average_household_size_of_r",
"_194_percent_housing_tenure_average_household_size_of_renter_oc",
"_195_percent_margin_of_error_housing_tenure_average_household_s",
"_279_percent_margin_of_error_house_heating_fuel_other_fuel",
"_291_percent_margin_of_error_selected_characteristics_lacking_c",
"_296_estimate_selected_characteristics_no_telephone_service_ava",
"_304_estimate_occupants_per_room_1_00_or_less",
"_309_margin_of_error_occupants_per_room_1_01_to_1_50",
"_319_percent_margin_of_error_value_owner_occupied_units",
"_320_estimate_value_less_than_50_000",
"_321_margin_of_error_value_less_than_50_000",
"_325_margin_of_error_value_50_000_to_99_999",
"_102_percent_year_structure_built_built_1939_or_earlier",
"_110_percent_rooms_1_room",
"_150_percent_bedrooms_total_housing_units",
"_156_estimate_bedrooms_1_bedroom",
"_157_margin_of_error_bedrooms_1_bedroom",
"_159_percent_margin_of_error_bedrooms_1_bedroom",
"_162_percent_bedrooms_2_bedrooms",
"_164_estimate_bedrooms_3_bedrooms",
"_172_estimate_bedrooms_5_or_more_bedrooms",
"_173_margin_of_error_bedrooms_5_or_more_bedrooms",
"_175_percent_margin_of_error_bedrooms_5_or_more_bedrooms",
"_289_margin_of_error_selected_characteristics_lacking_complete_",
"_290_percent_selected_characteristics_lacking_complete_plumbing",
"_295_percent_margin_of_error_selected_characteristics_lacking_c",
"_301_margin_of_error_occupants_per_room_occupied_housing_units",
"_302_percent_occupants_per_room_occupied_housing_units",
"_311_percent_margin_of_error_occupants_per_room_1_01_to_1_50",
"_315_percent_margin_of_error_occupants_per_room_1_51_or_more",
"_316_estimate_value_owner_occupied_units",
"_380_estimate_selected_monthly_owner_costs_smoc_500_to_699",
"_499_percent_margin_of_error_gross_rent_occupied_units_paying_r",
"_502_percent_gross_rent_less_than_200",
"_509_margin_of_error_gross_rent_300_to_499",
"_510_percent_gross_rent_300_to_499",
"_511_percent_margin_of_error_gross_rent_300_to_499",
"_542_percent_gross_rent_as_a_percentage_of_household_income_gra",
"_555_percent_margin_of_error_gross_rent_as_a_percentage_of_hous",
"_334_percent_value_150_000_to_199_999",
"_341_margin_of_error_value_300_000_to_499_999",
"_342_percent_value_300_000_to_499_999",
"_343_percent_margin_of_error_value_300_000_to_499_999",
"_350_percent_value_1_000_000_or_more",
"_355_percent_margin_of_error_value_median_dollars",
"_359_percent_margin_of_error_mortgage_status_owner_occupied_uni",
"_362_percent_mortgage_status_housing_units_with_a_mortgage",
"_368_estimate_selected_monthly_owner_costs_smoc_housing_units_w",
"_370_percent_selected_monthly_owner_costs_smoc_housing_units_wi",
"_371_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_374_percent_selected_monthly_owner_costs_smoc_less_than_300",
"_389_margin_of_error_selected_monthly_owner_costs_smoc_1_000_to",
"_396_estimate_selected_monthly_owner_costs_smoc_2_000_or_more",
"_397_margin_of_error_selected_monthly_owner_costs_smoc_2_000_or",
"_400_estimate_selected_monthly_owner_costs_smoc_median_dollars",
"_402_percent_selected_monthly_owner_costs_smoc_median_dollars",
"_403_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_404_estimate_selected_monthly_owner_costs_smoc_housing_units_w",
"_406_percent_selected_monthly_owner_costs_smoc_housing_units_wi",
"_407_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_408_estimate_selected_monthly_owner_costs_smoc_less_than_100",
"_410_percent_selected_monthly_owner_costs_smoc_less_than_100",
"_411_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_414_percent_selected_monthly_owner_costs_smoc_100_to_199",
"_422_percent_selected_monthly_owner_costs_smoc_300_to_399",
"_428_estimate_selected_monthly_owner_costs_smoc_median_dollars",
"_434_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_435_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_441_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_445_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_446_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_448_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_450_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_452_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_352_estimate_value_median_dollars",
"_372_estimate_selected_monthly_owner_costs_smoc_less_than_300",
"_395_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_398_percent_selected_monthly_owner_costs_smoc_2_000_or_more",
"_417_margin_of_error_selected_monthly_owner_costs_smoc_200_to_2",
"_432_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_463_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_503_percent_margin_of_error_gross_rent_less_than_200",
"_559_percent_margin_of_error_gross_rent_as_a_percentage_of_hous",
"_560_estimate_gross_rent_as_a_percentage_of_household_income_gr",
"point_y",
"_5_margin_of_error_housing_occupancy_total_housing_units",
"_8_estimate_housing_occupancy_occupied_housing_units",
"_13_margin_of_error_housing_occupancy_vacant_housing_units",
"_17_margin_of_error_housing_occupancy_homeowner_vacancy_rate",
"_24_estimate_units_in_structure_total_housing_units",
"_28_estimate_units_in_structure_1_unit_detached",
"_29_margin_of_error_units_in_structure_1_unit_detached",
"_37_margin_of_error_units_in_structure_2_units",
"_41_margin_of_error_units_in_structure_3_or_4_units",
"_46_percent_units_in_structure_5_to_9_units",
"_48_estimate_units_in_structure_10_to_19_units",
"_50_percent_units_in_structure_10_to_19_units",
"_53_margin_of_error_units_in_structure_20_or_more_units",
"_60_estimate_units_in_structure_boat_rv_van_etc",
"_66_percent_year_structure_built_total_housing_units",
"_68_estimate_year_structure_built_built_2005_or_later",
"_69_margin_of_error_year_structure_built_built_2005_or_later",
"_70_percent_year_structure_built_built_2005_or_later",
"_71_percent_margin_of_error_year_structure_built_built_2005_or_",
"_73_margin_of_error_year_structure_built_built_2000_to_2004",
"_74_percent_year_structure_built_built_2000_to_2004",
"_75_percent_margin_of_error_year_structure_built_built_2000_to_",
"_80_estimate_year_structure_built_built_1980_to_1989",
"_81_margin_of_error_year_structure_built_built_1980_to_1989",
"_83_percent_margin_of_error_year_structure_built_built_1980_to_",
"_85_margin_of_error_year_structure_built_built_1970_to_1979",
"_88_estimate_year_structure_built_built_1960_to_1969",
"_89_margin_of_error_year_structure_built_built_1960_to_1969",
"_94_percent_year_structure_built_built_1950_to_1959",
"_97_margin_of_error_year_structure_built_built_1940_to_1949",
"_98_percent_year_structure_built_built_1940_to_1949",
"_100_estimate_year_structure_built_built_1939_or_earlier",
"_101_margin_of_error_year_structure_built_built_1939_or_earlier",
"_108_estimate_rooms_1_room",
"_113_margin_of_error_rooms_2_rooms",
"_114_percent_rooms_2_rooms",
"_118_percent_rooms_3_rooms",
"_121_margin_of_error_rooms_4_rooms",
"_122_percent_rooms_4_rooms",
"_128_estimate_rooms_6_rooms",
"_132_estimate_rooms_7_rooms",
"_136_estimate_rooms_8_rooms",
"_139_percent_margin_of_error_rooms_8_rooms",
"_140_estimate_rooms_9_rooms_or_more",
"_141_margin_of_error_rooms_9_rooms_or_more",
"_142_percent_rooms_9_rooms_or_more",
"_143_percent_margin_of_error_rooms_9_rooms_or_more",
"_152_estimate_bedrooms_no_bedroom",
"_154_percent_bedrooms_no_bedroom",
"_168_estimate_bedrooms_4_bedrooms",
"_170_percent_bedrooms_4_bedrooms",
"_171_percent_margin_of_error_bedrooms_4_bedrooms",
"_174_percent_bedrooms_5_or_more_bedrooms",
"_176_estimate_housing_tenure_occupied_housing_units",
"_184_estimate_housing_tenure_renter_occupied",
"_187_percent_margin_of_error_housing_tenure_renter_occupied",
"_188_estimate_housing_tenure_average_household_size_of_owner_oc",
"_198_percent_year_householder_moved_into_unit_occupied_housing_",
"_202_percent_year_householder_moved_into_unit_moved_in_2005_or_",
"_203_percent_margin_of_error_year_householder_moved_into_unit_m",
"_204_estimate_year_householder_moved_into_unit_moved_in_2000_to",
"_205_margin_of_error_year_householder_moved_into_unit_moved_in_",
"_206_percent_year_householder_moved_into_unit_moved_in_2000_to_",
"_209_margin_of_error_year_householder_moved_into_unit_moved_in_",
"_211_percent_margin_of_error_year_householder_moved_into_unit_m",
"_213_margin_of_error_year_householder_moved_into_unit_moved_in_",
"_221_margin_of_error_year_householder_moved_into_unit_moved_in_",
"_228_estimate_vehicles_available_no_vehicles_available",
"_237_margin_of_error_vehicles_available_2_vehicles_available",
"_244_estimate_house_heating_fuel_occupied_housing_units",
"_245_margin_of_error_house_heating_fuel_occupied_housing_units",
"_250_percent_house_heating_fuel_utility_gas",
"_251_percent_margin_of_error_house_heating_fuel_utility_gas",
"_252_estimate_house_heating_fuel_bottled_tank_or_lp_gas",
"_256_estimate_house_heating_fuel_electricity",
"_257_margin_of_error_house_heating_fuel_electricity",
"_260_estimate_house_heating_fuel_fuel_oil_kerosene_etc",
"_261_margin_of_error_house_heating_fuel_fuel_oil_kerosene_etc",
"_265_margin_of_error_house_heating_fuel_coal_or_coke",
"_272_estimate_house_heating_fuel_solar_energy",
"_273_margin_of_error_house_heating_fuel_solar_energy",
"_276_estimate_house_heating_fuel_other_fuel",
"_280_estimate_house_heating_fuel_no_fuel_used",
"_281_margin_of_error_house_heating_fuel_no_fuel_used",
"_286_percent_selected_characteristics_occupied_housing_units",
"_292_estimate_selected_characteristics_lacking_complete_kitchen",
"_306_percent_occupants_per_room_1_00_or_less",
"_308_estimate_occupants_per_room_1_01_to_1_50",
"_312_estimate_occupants_per_room_1_51_or_more",
"_313_margin_of_error_occupants_per_room_1_51_or_more",
"_314_percent_occupants_per_room_1_51_or_more",
"_318_percent_value_owner_occupied_units",
"_323_percent_margin_of_error_value_less_than_50_000",
"_326_percent_value_50_000_to_99_999",
"_328_estimate_value_100_000_to_149_999",
"_331_percent_margin_of_error_value_100_000_to_149_999",
"_335_percent_margin_of_error_value_150_000_to_199_999",
"_338_percent_value_200_000_to_299_999",
"_339_percent_margin_of_error_value_200_000_to_299_999",
"_340_estimate_value_300_000_to_499_999",
"_344_estimate_value_500_000_to_999_999",
"_345_margin_of_error_value_500_000_to_999_999",
"_346_percent_value_500_000_to_999_999",
"_351_percent_margin_of_error_value_1_000_000_or_more",
"_358_percent_mortgage_status_owner_occupied_units",
"_361_margin_of_error_mortgage_status_housing_units_with_a_mortg",
"_364_estimate_mortgage_status_housing_units_without_a_mortgage",
"_365_margin_of_error_mortgage_status_housing_units_without_a_mo",
"_366_percent_mortgage_status_housing_units_without_a_mortgage",
"_375_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_376_estimate_selected_monthly_owner_costs_smoc_300_to_499",
"_390_percent_selected_monthly_owner_costs_smoc_1_000_to_1_499",
"_393_margin_of_error_selected_monthly_owner_costs_smoc_1_500_to",
"_394_percent_selected_monthly_owner_costs_smoc_1_500_to_1_999",
"_399_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_401_margin_of_error_selected_monthly_owner_costs_smoc_median_d",
"_405_margin_of_error_selected_monthly_owner_costs_smoc_housing_",
"_409_margin_of_error_selected_monthly_owner_costs_smoc_less_tha",
"_412_estimate_selected_monthly_owner_costs_smoc_100_to_199",
"_416_estimate_selected_monthly_owner_costs_smoc_200_to_299",
"_418_percent_selected_monthly_owner_costs_smoc_200_to_299",
"_419_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_420_estimate_selected_monthly_owner_costs_smoc_300_to_399",
"_423_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_426_percent_selected_monthly_owner_costs_smoc_400_or_more",
"_427_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_438_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_439_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_440_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_442_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_455_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_460_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_466_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_469_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_474_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_478_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_479_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_480_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_481_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_483_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_487_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_488_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_489_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_491_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_496_estimate_gross_rent_occupied_units_paying_rent",
"_497_margin_of_error_gross_rent_occupied_units_paying_rent",
"_498_percent_gross_rent_occupied_units_paying_rent",
"_500_estimate_gross_rent_less_than_200",
"_501_margin_of_error_gross_rent_less_than_200",
"_505_margin_of_error_gross_rent_200_to_299",
"_506_percent_gross_rent_200_to_299",
"_507_percent_margin_of_error_gross_rent_200_to_299",
"_508_estimate_gross_rent_300_to_499",
"_512_estimate_gross_rent_500_to_749",
"_515_percent_margin_of_error_gross_rent_500_to_749",
"_516_estimate_gross_rent_750_to_999",
"_517_margin_of_error_gross_rent_750_to_999",
"_520_estimate_gross_rent_1_000_to_1_499",
"_521_margin_of_error_gross_rent_1_000_to_1_499",
"_523_percent_margin_of_error_gross_rent_1_000_to_1_499",
"_524_estimate_gross_rent_1_500_or_more",
"_526_percent_gross_rent_1_500_or_more",
"_532_estimate_gross_rent_no_rent_paid",
"_537_margin_of_error_gross_rent_as_a_percentage_of_household_in",
"_538_percent_gross_rent_as_a_percentage_of_household_income_gra",
"_540_estimate_gross_rent_as_a_percentage_of_household_income_gr",
"_541_margin_of_error_gross_rent_as_a_percentage_of_household_in",
"_543_percent_margin_of_error_gross_rent_as_a_percentage_of_hous",
"_544_estimate_gross_rent_as_a_percentage_of_household_income_gr",
"_547_percent_margin_of_error_gross_rent_as_a_percentage_of_hous",
"_549_margin_of_error_gross_rent_as_a_percentage_of_household_in",
"_550_percent_gross_rent_as_a_percentage_of_household_income_gra",
"_552_estimate_gross_rent_as_a_percentage_of_household_income_gr",
"_556_estimate_gross_rent_as_a_percentage_of_household_income_gr",
"_557_margin_of_error_gross_rent_as_a_percentage_of_household_in",
"_561_margin_of_error_gross_rent_as_a_percentage_of_household_in",
"_565_margin_of_error_gross_rent_as_a_percentage_of_household_in",
"point_x_address",
"point_x_state",
"_16_estimate_housing_occupancy_homeowner_vacancy_rate",
"_25_margin_of_error_units_in_structure_total_housing_units",
"_43_percent_margin_of_error_units_in_structure_3_or_4_units",
"_54_percent_units_in_structure_20_or_more_units",
"_72_estimate_year_structure_built_built_2000_to_2004",
"_79_percent_margin_of_error_year_structure_built_built_1990_to_",
"_112_estimate_rooms_2_rooms",
"_119_percent_margin_of_error_rooms_3_rooms",
"_131_percent_margin_of_error_rooms_6_rooms",
"_134_percent_rooms_7_rooms",
"_149_margin_of_error_bedrooms_total_housing_units",
"_165_margin_of_error_bedrooms_3_bedrooms",
"_166_percent_bedrooms_3_bedrooms",
"_220_estimate_year_householder_moved_into_unit_moved_in_1969_or",
"_233_margin_of_error_vehicles_available_1_vehicle_available",
"_294_percent_selected_characteristics_lacking_complete_kitchen_",
"_307_percent_margin_of_error_occupants_per_room_1_00_or_less",
"_369_margin_of_error_selected_monthly_owner_costs_smoc_housing_",
"_373_margin_of_error_selected_monthly_owner_costs_smoc_less_tha",
"_381_margin_of_error_selected_monthly_owner_costs_smoc_500_to_6",
"_421_margin_of_error_selected_monthly_owner_costs_smoc_300_to_3",
"_433_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_456_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_551_percent_margin_of_error_gross_rent_as_a_percentage_of_hous",
"_567_percent_margin_of_error_gross_rent_as_a_percentage_of_hous",
"zip_code",
"_4_estimate_housing_occupancy_total_housing_units",
"_6_percent_housing_occupancy_total_housing_units",
"_9_margin_of_error_housing_occupancy_occupied_housing_units",
"_10_percent_housing_occupancy_occupied_housing_units",
"_12_estimate_housing_occupancy_vacant_housing_units",
"_14_percent_housing_occupancy_vacant_housing_units",
"_26_percent_units_in_structure_total_housing_units",
"_31_percent_margin_of_error_units_in_structure_1_unit_detached",
"_32_estimate_units_in_structure_1_unit_attached",
"_34_percent_units_in_structure_1_unit_attached",
"_39_percent_margin_of_error_units_in_structure_2_units",
"_40_estimate_units_in_structure_3_or_4_units",
"_42_percent_units_in_structure_3_or_4_units",
"_45_margin_of_error_units_in_structure_5_to_9_units",
"_49_margin_of_error_units_in_structure_10_to_19_units",
"_52_estimate_units_in_structure_20_or_more_units",
"_61_margin_of_error_units_in_structure_boat_rv_van_etc",
"_65_margin_of_error_year_structure_built_total_housing_units",
"_77_margin_of_error_year_structure_built_built_1990_to_1999",
"_78_percent_year_structure_built_built_1990_to_1999",
"_84_estimate_year_structure_built_built_1970_to_1979",
"_86_percent_year_structure_built_built_1970_to_1979",
"_91_percent_margin_of_error_year_structure_built_built_1960_to_",
"_93_margin_of_error_year_structure_built_built_1950_to_1959",
"_95_percent_margin_of_error_year_structure_built_built_1950_to_",
"_96_estimate_year_structure_built_built_1940_to_1949",
"_99_percent_margin_of_error_year_structure_built_built_1940_to_",
"_109_margin_of_error_rooms_1_room",
"_111_percent_margin_of_error_rooms_1_room",
"_120_estimate_rooms_4_rooms",
"_125_margin_of_error_rooms_5_rooms",
"_126_percent_rooms_5_rooms",
"_129_margin_of_error_rooms_6_rooms",
"_130_percent_rooms_6_rooms",
"_133_margin_of_error_rooms_7_rooms",
"_144_estimate_rooms_median_rooms",
"_148_estimate_bedrooms_total_housing_units",
"_178_percent_housing_tenure_occupied_housing_units",
"_181_margin_of_error_housing_tenure_owner_occupied",
"_182_percent_housing_tenure_owner_occupied",
"_186_percent_housing_tenure_renter_occupied",
"_190_percent_housing_tenure_average_household_size_of_owner_occ",
"_192_estimate_housing_tenure_average_household_size_of_renter_o",
"_196_estimate_year_householder_moved_into_unit_occupied_housing",
"_197_margin_of_error_year_householder_moved_into_unit_occupied_",
"_200_estimate_year_householder_moved_into_unit_moved_in_2005_or",
"_201_margin_of_error_year_householder_moved_into_unit_moved_in_",
"_207_percent_margin_of_error_year_householder_moved_into_unit_m",
"_208_estimate_year_householder_moved_into_unit_moved_in_1990_to",
"_210_percent_year_householder_moved_into_unit_moved_in_1990_to_",
"_212_estimate_year_householder_moved_into_unit_moved_in_1980_to",
"_215_percent_margin_of_error_year_householder_moved_into_unit_m",
"_216_estimate_year_householder_moved_into_unit_moved_in_1970_to",
"_217_margin_of_error_year_householder_moved_into_unit_moved_in_",
"_219_percent_margin_of_error_year_householder_moved_into_unit_m",
"_224_estimate_vehicles_available_occupied_housing_units",
"_225_margin_of_error_vehicles_available_occupied_housing_units",
"_226_percent_vehicles_available_occupied_housing_units",
"_229_margin_of_error_vehicles_available_no_vehicles_available",
"_230_percent_vehicles_available_no_vehicles_available",
"_232_estimate_vehicles_available_1_vehicle_available",
"_236_estimate_vehicles_available_2_vehicles_available",
"_240_estimate_vehicles_available_3_or_more_vehicles_available",
"_242_percent_vehicles_available_3_or_more_vehicles_available",
"_246_percent_house_heating_fuel_occupied_housing_units",
"_253_margin_of_error_house_heating_fuel_bottled_tank_or_lp_gas",
"_258_percent_house_heating_fuel_electricity",
"_259_percent_margin_of_error_house_heating_fuel_electricity",
"_262_percent_house_heating_fuel_fuel_oil_kerosene_etc",
"_263_percent_margin_of_error_house_heating_fuel_fuel_oil_kerose",
"_278_percent_house_heating_fuel_other_fuel",
"_282_percent_house_heating_fuel_no_fuel_used",
"_284_estimate_selected_characteristics_occupied_housing_units",
"_288_estimate_selected_characteristics_lacking_complete_plumbin",
"_293_margin_of_error_selected_characteristics_lacking_complete_",
"_297_margin_of_error_selected_characteristics_no_telephone_serv",
"_298_percent_selected_characteristics_no_telephone_service_avai",
"_299_percent_margin_of_error_selected_characteristics_no_teleph",
"_305_margin_of_error_occupants_per_room_1_00_or_less",
"_310_percent_occupants_per_room_1_01_to_1_50",
"_322_percent_value_less_than_50_000",
"_324_estimate_value_50_000_to_99_999",
"_327_percent_margin_of_error_value_50_000_to_99_999",
"_329_margin_of_error_value_100_000_to_149_999",
"_330_percent_value_100_000_to_149_999",
"_333_margin_of_error_value_150_000_to_199_999",
"_336_estimate_value_200_000_to_299_999",
"_337_margin_of_error_value_200_000_to_299_999",
"_347_percent_margin_of_error_value_500_000_to_999_999",
"_348_estimate_value_1_000_000_or_more",
"_349_margin_of_error_value_1_000_000_or_more",
"_353_margin_of_error_value_median_dollars",
"_354_percent_value_median_dollars",
"_356_estimate_mortgage_status_owner_occupied_units",
"_357_margin_of_error_mortgage_status_owner_occupied_units",
"_360_estimate_mortgage_status_housing_units_with_a_mortgage",
"_363_percent_margin_of_error_mortgage_status_housing_units_with",
"_367_percent_margin_of_error_mortgage_status_housing_units_with",
"_377_margin_of_error_selected_monthly_owner_costs_smoc_300_to_4",
"_378_percent_selected_monthly_owner_costs_smoc_300_to_499",
"_379_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_382_percent_selected_monthly_owner_costs_smoc_500_to_699",
"_383_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_384_estimate_selected_monthly_owner_costs_smoc_700_to_999",
"_385_margin_of_error_selected_monthly_owner_costs_smoc_700_to_9",
"_386_percent_selected_monthly_owner_costs_smoc_700_to_999",
"_387_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_388_estimate_selected_monthly_owner_costs_smoc_1_000_to_1_499",
"_391_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_392_estimate_selected_monthly_owner_costs_smoc_1_500_to_1_999",
"_415_percent_margin_of_error_selected_monthly_owner_costs_smoc_",
"_424_estimate_selected_monthly_owner_costs_smoc_400_or_more",
"_425_margin_of_error_selected_monthly_owner_costs_smoc_400_or_m",
"_429_margin_of_error_selected_monthly_owner_costs_smoc_median_d",
"_436_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_437_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_443_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_444_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_447_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_449_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_451_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_453_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_454_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_459_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_461_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_464_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_465_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_468_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_471_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_472_estimate_selected_monthly_owner_costs_as_a_percentage_of_h",
"_473_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_475_percent_margin_of_error_selected_monthly_owner_costs_as_a_",
"_477_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_482_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_485_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_486_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_490_percent_selected_monthly_owner_costs_as_a_percentage_of_ho",
"_493_margin_of_error_selected_monthly_owner_costs_as_a_percenta",
"_504_estimate_gross_rent_200_to_299",
"_513_margin_of_error_gross_rent_500_to_749",
"_518_percent_gross_rent_750_to_999",
"_522_percent_gross_rent_1_000_to_1_499",
"_525_margin_of_error_gross_rent_1_500_or_more",
"_527_percent_margin_of_error_gross_rent_1_500_or_more",
"_528_estimate_gross_rent_median_dollars",
"_533_margin_of_error_gross_rent_no_rent_paid",
"_536_estimate_gross_rent_as_a_percentage_of_household_income_gr",
"_545_margin_of_error_gross_rent_as_a_percentage_of_household_in",
"_553_margin_of_error_gross_rent_as_a_percentage_of_household_in",
"_558_percent_gross_rent_as_a_percentage_of_household_income_gra",
"_562_percent_gross_rent_as_a_percentage_of_household_income_gra",
"_563_percent_margin_of_error_gross_rent_as_a_percentage_of_hous",
"_564_estimate_gross_rent_as_a_percentage_of_household_income_gr"
FROM
"bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65:latest"."housing_trends_per_zip_code_acs_11_5_yr_dp04"
LIMIT 100;
Connecting to the DDN is easy. All you need is an existing SQL client that can connect to Postgres. As long as you have a SQL client ready, you'll be able to query bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65
with SQL in under 60 seconds.
Query Your Local Engine
bash -c "$(curl -sL https://github.com/splitgraph/splitgraph/releases/latest/download/install.sh)"
Read the installation docs.
Splitgraph Cloud is built around Splitgraph Core (GitHub), which includes a local Splitgraph Engine packaged as a Docker image. Splitgraph Cloud is basically a scaled-up version of that local Engine. When you query the Data Delivery Network or the REST API, we mount the relevant datasets in an Engine on our servers and execute your query on it.
It's possible to run this engine locally. You'll need a Mac, Windows or Linux system to install sgr
, and a Docker installation to run the engine. You don't need to know how to actually use Docker; sgr
can manage the image, container and volume for you.
There are a few ways to ingest data into the local engine.
For external repositories, the Splitgraph Engine can "mount" upstream data sources by using sgr mount
. This feature is built around Postgres Foreign Data Wrappers (FDW). You can write custom "mount handlers" for any upstream data source. For an example, we blogged about making a custom mount handler for HackerNews stories.
For hosted datasets (like this repository), where the author has pushed Splitgraph Images to the repository, you can "clone" and/or "checkout" the data using sgr clone
and sgr checkout
.
Cloning Data
Because bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65:latest
is a Splitgraph Image, you can clone the data from Spltgraph Cloud to your local engine, where you can query it like any other Postgres database, using any of your existing tools.
First, install Splitgraph if you haven't already.
Clone the metadata with sgr clone
This will be quick, and does not download the actual data.
sgr clone bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65
Checkout the data
Once you've cloned the data, you need to "checkout" the tag that you want. For example, to checkout the latest
tag:
sgr checkout bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65:latest
This will download all the objects for the latest
tag of bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65
and load them into the Splitgraph Engine. Depending on your connection speed and the size of the data, you will need to wait for the checkout to complete. Once it's complete, you will be able to query the data like you would any other Postgres database.
Alternatively, use "layered checkout" to avoid downloading all the data
The data in bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65:latest
is 0 bytes. If this is too big to download all at once, or perhaps you only need to query a subset of it, you can use a layered checkout.:
sgr checkout --layered bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65:latest
This will not download all the data, but it will create a schema comprised of foreign tables, that you can query as you would any other data. Splitgraph will lazily download the required objects as you query the data. In some cases, this might be faster or more efficient than a regular checkout.
Read the layered querying documentation to learn about when and why you might want to use layered queries.
Query the data with your existing tools
Once you've loaded the data into your local Splitgraph Engine, you can query it with any of your existing tools. As far as they're concerned, bronx-lehman-cuny-edu/housing-trends-per-zip-code-acs-11-5-yr-dp04-btbs-6w65
is just another Postgres schema.