{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "Y0IPjMQvr_2h" }, "source": [ "## Filtering a Data Observatory dataset using \"Who's On First\" in CARTOFrames" ] }, { "cell_type": "markdown", "metadata": { "id": "VOVRcqXNrnUu" }, "source": [ "This notebook illustrates how to use the admin. region geometries from Who's on First (public data) to filter a dataset from CARTO's [Data Observatory](https://carto.com/spatial-data-catalog/) using [CARTOFrames](https://carto.com/cartoframes/) methods.\n", "\n", "The notebook is organized as follows:\n", "0. Setup account\n", "1. Access a dataset from a Data Observatory subscription to be filtered\n", "2. Who's on First for filtering data in cities\n", "\n", "**Documentation**\n", "- CARTO Spatial Data Catalogue - [link](https://carto.com/spatial-data-catalog/browser/)\n", "- CARTOFrames technical documentation - [link](https://carto.com/developers/cartoframes/)\n", "- \"Who's on First\" GeoJSON data product - [link](https://carto.com/spatial-data-catalog/browser/geography/wof_geojson_4e78587c/data)" ] }, { "cell_type": "markdown", "metadata": { "id": "nN8F02lPsOBU" }, "source": [ "### 0. Setup" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "id": "bZcjZ3X3sUMr" }, "outputs": [], "source": [ "import geopandas as gpd\n", "import pandas as pd\n", "\n", "from cartoframes.auth import set_default_credentials\n", "from cartoframes.data.observatory import *\n", "from cartoframes.viz import *\n", "\n", "pd.set_option('display.max_columns', None)" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "id": "n02GAhWlsXbM" }, "outputs": [], "source": [ "set_default_credentials('creds.json')" ] }, { "cell_type": "markdown", "metadata": { "id": "gdNCauTQtarh" }, "source": [ "### 1. Access a dataset from a Data Observatory subscription to be filtered" ] }, { "cell_type": "markdown", "metadata": { "id": "GRlKWu8xAfGX" }, "source": [ "First, we check our data subscriptions from the Data Observatory to select which dataset we want to filter." ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 1000 }, "id": "JI7RCXrnAsNc", "outputId": "9d409e6c-00c3-48cc-afab-f3afc7563fcd" }, "outputs": [ { "data": { "text/html": [ "
\n", " | slug | \n", "name | \n", "description | \n", "category_id | \n", "country_id | \n", "data_source_id | \n", "provider_id | \n", "geography_name | \n", "geography_description | \n", "temporal_aggregation | \n", "time_coverage | \n", "update_frequency | \n", "is_public_data | \n", "lang | \n", "version | \n", "category_name | \n", "provider_name | \n", "geography_id | \n", "id | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "lg_parcels_ef7cdae4 | \n", "Parcels - United States of America (Parcel) | \n", "Nationwide dataset with data from 140 million ... | \n", "housing | \n", "usa | \n", "parcels | \n", "landgrid | \n", "Parcel - United States of America | \n", "Land parcels compiled by Landgrid | \n", "monthly | \n", "None | \n", "monthly | \n", "False | \n", "eng | \n", "v1 | \n", "Housing | \n", "Landgrid | \n", "carto-do.landgrid.geography_usa_parcel_v1 | \n", "carto-do.landgrid.housing_parcels_usa_parcel_v... | \n", "
1 | \n", "sg_social_dist_667d8e8e | \n", "Social Distancing Metrics - United States of A... | \n", "Due to the COVID-19 pandemic, people are curre... | \n", "covid19 | \n", "usa | \n", "social_distancing | \n", "safegraph | \n", "Census Block Group - United States of America ... | \n", "Shoreline clipped TIGER/Line boundaries. More ... | \n", "daily | \n", "None | \n", "daily | \n", "False | \n", "eng | \n", "v1 | \n", "Covid-19 | \n", "SafeGraph | \n", "carto-do-public-data.carto.geography_usa_block... | \n", "carto-do.safegraph.covid19_socialdistancing_us... | \n", "
2 | \n", "ine_sociodemogr_c8c87afe | \n", "Sociodemographics (Spain, Census Sections) | \n", "Sociodemographic data from the Instituto Nacio... | \n", "demographics | \n", "esp | \n", "sociodemographics | \n", "esp_ine | \n", "Census Section (Spain) | \n", "2020 Census Sections, from the Instituto Nacio... | \n", "yearly | \n", "None | \n", "None | \n", "True | \n", "eng | \n", "2011 | \n", "Demographics | \n", "Instituto Nacional de Estadística | \n", "carto-do-public-data.esp_ine.geography_esp_cen... | \n", "carto-do-public-data.esp_ine.demographics_soci... | \n", "
3 | \n", "expn_sociodemogr_25b78bba | \n", "Sociodemographics - Thailand (Grid 250m) | \n", "Worldview combines Experian's own datasets wit... | \n", "demographics | \n", "tha | \n", "sociodemographics | \n", "experian | \n", "Grid 250m - Thailand | \n", "Experian 250mx250m grid cells | \n", "yearly | \n", "[2019-01-01, 2020-01-01) | \n", "None | \n", "False | \n", "eng | \n", "2020 | \n", "Demographics | \n", "Experian | \n", "carto-do.experian.geography_tha_grid_v1 | \n", "carto-do.experian.demographics_sociodemographi... | \n", "
4 | \n", "mc_geographic__7980c5c3 | \n", "Geographic Insights - United States of America... | \n", "Geographic Insights validate, evaluate and ben... | \n", "financial | \n", "usa | \n", "geographic_insights | \n", "mastercard | \n", "Census Block Group - United States of America ... | \n", "Shoreline clipped TIGER/Line boundaries. More ... | \n", "monthly | \n", "[2019-01-01, 2020-01-01) | \n", "monthly | \n", "False | \n", "eng | \n", "v1 | \n", "Financial | \n", "Mastercard | \n", "carto-do-public-data.carto.geography_usa_block... | \n", "carto-do.mastercard.financial_geographicinsigh... | \n", "
5 | \n", "acs_sociodemogr_b758e778 | \n", "Sociodemographics - United States of America (... | \n", "The American Community Survey (ACS) is an ongo... | \n", "demographics | \n", "usa | \n", "sociodemographics | \n", "usa_acs | \n", "Census Block Group - United States of America ... | \n", "Shoreline clipped TIGER/Line boundaries. More ... | \n", "5yrs | \n", "[2013-01-01, 2018-01-01) | \n", "None | \n", "True | \n", "eng | \n", "20132017 | \n", "Demographics | \n", "American Community Survey | \n", "carto-do-public-data.carto.geography_usa_block... | \n", "carto-do-public-data.usa_acs.demographics_soci... | \n", "
6 | \n", "can_sociodemogr_affc7f83 | \n", "Sociodemographics - Canada (Dissemination Area) | \n", "Sociodemographic data from Statistics Canada. ... | \n", "demographics | \n", "can | \n", "sociodemographics | \n", "can_statistics | \n", "Dissemination Area - Canada (2016) | \n", "Canada - Dissemination Area | \n", "5yrs | \n", "None | \n", "None | \n", "True | \n", "eng | \n", "2016 | \n", "Demographics | \n", "Statistics Canada | \n", "carto-do-public-data.carto.geography_can_disse... | \n", "carto-do-public-data.can_statistics.demographi... | \n", "
7 | \n", "can_employment_e3bbbb6 | \n", "Employment And Income - Canada (Dissemination ... | \n", "Employment and income data from Statistics Can... | \n", "demographics | \n", "can | \n", "employment | \n", "can_statistics | \n", "Dissemination Area - Canada (2016) | \n", "Canada - Dissemination Area | \n", "5yrs | \n", "None | \n", "None | \n", "True | \n", "eng | \n", "2016 | \n", "Demographics | \n", "Statistics Canada | \n", "carto-do-public-data.carto.geography_can_disse... | \n", "carto-do-public-data.can_statistics.demographi... | \n", "
8 | \n", "wp_population_cd347169 | \n", "Population Mosaics - Switzerland (Grid 1km, 2020) | \n", "Mosaiced 1km resolution global datasets. The m... | \n", "demographics | \n", "che | \n", "population | \n", "worldpop | \n", "Grid 1km - Switzerland | \n", "Global grid at aprox. 1-kilometer resolution (... | \n", "yearly | \n", "[2020-01-01, 2021-01-01) | \n", "None | \n", "True | \n", "eng | \n", "2020 | \n", "Demographics | \n", "WorldPop | \n", "carto-do-public-data.worldpop.geography_che_gr... | \n", "carto-do-public-data.worldpop.demographics_pop... | \n", "
9 | \n", "wp_population_35d01fd4 | \n", "Population Mosaics - Belgium (Grid 100m, 2015) | \n", "Mosaiced 100m resolution global datasets. The ... | \n", "demographics | \n", "bel | \n", "population | \n", "worldpop | \n", "Grid 100m - Belgium | \n", "Global grid at aprox. 100-meter resolution (0.... | \n", "yearly | \n", "[2015-01-01, 2016-01-01) | \n", "None | \n", "True | \n", "eng | \n", "2015 | \n", "Demographics | \n", "WorldPop | \n", "carto-do-public-data.worldpop.geography_bel_gr... | \n", "carto-do-public-data.worldpop.demographics_pop... | \n", "
10 | \n", "wp_population_6bf077c7 | \n", "Population Mosaics - Italy (Grid 1km, 2020) | \n", "Mosaiced 1km resolution global datasets. The m... | \n", "demographics | \n", "ita | \n", "population | \n", "worldpop | \n", "Grid 1km - Italy | \n", "Global grid at aprox. 1-kilometer resolution (... | \n", "yearly | \n", "[2020-01-01, 2021-01-01) | \n", "None | \n", "True | \n", "eng | \n", "2020 | \n", "Demographics | \n", "WorldPop | \n", "carto-do-public-data.worldpop.geography_ita_gr... | \n", "carto-do-public-data.worldpop.demographics_pop... | \n", "
11 | \n", "spa_geosocial_s_d5dc42ae | \n", "Geosocial Segments - United States of America ... | \n", "By analysing feeds from Twitter, Instagram, Me... | \n", "behavioral | \n", "usa | \n", "geosocial_segments | \n", "spatial_ai | \n", "Census Block Group - United States of America ... | \n", "Shoreline clipped TIGER/Line boundaries. More ... | \n", "quarterly | \n", "[2020-01-01, 2020-04-01) | \n", "quarterly | \n", "False | \n", "eng | \n", "v1 | \n", "Behavioral | \n", "Spatial.ai | \n", "carto-do-public-data.carto.geography_usa_block... | \n", "carto-do.spatial_ai.behavioral_geosocialsegmen... | \n", "
12 | \n", "expn_consumer_se_7d6172d | \n", "Consumer Segments - Russia (Grid 250m) | \n", "WorldView segments has been developed to segme... | \n", "demographics | \n", "rus | \n", "consumer_segments | \n", "experian | \n", "Grid 250m - Russia | \n", "Experian 250mx250m grid cells | \n", "yearly | \n", "[2019-01-01, 2020-01-01) | \n", "None | \n", "False | \n", "eng | \n", "2020 | \n", "Demographics | \n", "Experian | \n", "carto-do.experian.geography_rus_grid_v2 | \n", "carto-do.experian.demographics_consumersegment... | \n", "
13 | \n", "expn_sociodemogr_81aa1d1e | \n", "Sociodemographics - Russia (Grid 250m) | \n", "Worldview combines Experian's own datasets wit... | \n", "demographics | \n", "rus | \n", "sociodemographics | \n", "experian | \n", "Grid 250m - Russia | \n", "Experian 250mx250m grid cells | \n", "yearly | \n", "[2019-01-01, 2020-01-01) | \n", "None | \n", "False | \n", "eng | \n", "2020 | \n", "Demographics | \n", "Experian | \n", "carto-do.experian.geography_rus_grid_v2 | \n", "carto-do.experian.demographics_sociodemographi... | \n", "
14 | \n", "cdb_spatial_fea_d23a5c97 | \n", "Spatial Features - Spain (Quadgrid 15) | \n", "Spatial Features is a dataset curated by CARTO... | \n", "derived | \n", "esp | \n", "spatial_features | \n", "carto | \n", "Quadgrid 15 - Spain | \n", "Global Quadgrid (zoom level 15) | \n", "yearly | \n", "None | \n", "None | \n", "True | \n", "eng | \n", "2020 | \n", "Derived | \n", "CARTO | \n", "carto-do-public-data.carto.geography_esp_quadg... | \n", "carto-do-public-data.carto.derived_spatialfeat... | \n", "
15 | \n", "cdb_spatial_fea_802d4d44 | \n", "Spatial Features - France (Quadgrid 15) | \n", "Spatial Features is a dataset curated by CARTO... | \n", "derived | \n", "fra | \n", "spatial_features | \n", "carto | \n", "Quadgrid 15 - France | \n", "Global Quadgrid (zoom level 15) | \n", "yearly | \n", "None | \n", "None | \n", "False | \n", "eng | \n", "2020 | \n", "Derived | \n", "CARTO | \n", "carto-do-public-data.carto.geography_fra_quadg... | \n", "carto-do.carto.derived_spatialfeatures_fra_qua... | \n", "
16 | \n", "cdb_spatial_fea_7bd51aec | \n", "Spatial Features - Guyana (Quadgrid 15) | \n", "Spatial Features is a dataset curated by CARTO... | \n", "derived | \n", "guy | \n", "spatial_features | \n", "carto | \n", "Quadgrid 15 - Guyana | \n", "Global Quadgrid (zoom level 15) | \n", "yearly | \n", "None | \n", "None | \n", "False | \n", "eng | \n", "2020 | \n", "Derived | \n", "CARTO | \n", "carto-do-public-data.carto.geography_guy_quadg... | \n", "carto-do.carto.derived_spatialfeatures_guy_qua... | \n", "
17 | \n", "ws_climatology_83bcb297 | \n", "Climatology - Japan (Grid 22km, hourly) | \n", "Global climatology data providing weather stat... | \n", "environmental | \n", "jpn | \n", "climatology | \n", "weather_source | \n", "Grid 22km - Global | \n", "Custom grid at 22 kilometer resolution | \n", "hourly | \n", "[2005-01-01, 2020-01-01) | \n", "yearly | \n", "False | \n", "eng | \n", "v1 | \n", "Environmental | \n", "Weather Source | \n", "carto-do.weather_source.geography_glo_grid22km_v1 | \n", "carto-do.weather_source.environmental_climatol... | \n", "
18 | \n", "uc_activity_ae564b62 | \n", "Activity - Philippines (Quadgrid 17) | \n", "Leveraging a global panel of location signals ... | \n", "human_mobility | \n", "phl | \n", "activity | \n", "unacast | \n", "Quadgrid 17 - Philippines | \n", "Quad Key Grid - Level 17 | \n", "monthly | \n", "[2019-01-01, 2020-01-01) | \n", "monthly | \n", "False | \n", "eng | \n", "v1 | \n", "Human Mobility | \n", "Unacast | \n", "carto-do-public-data.carto.geography_phl_quadg... | \n", "carto-do.unacast.humanmobility_activity_phl_qu... | \n", "
19 | \n", "uc_home_and_wo_b42b8699 | \n", "Home And Work - Philippines (Quadgrid 17) | \n", "Paired with the Activity dataset, this data pr... | \n", "human_mobility | \n", "phl | \n", "home_and_work | \n", "unacast | \n", "Quadgrid | \n", "Quadgrid (multiple zoom levels) | \n", "monthly | \n", "[2019-01-01, 2020-01-01) | \n", "monthly | \n", "False | \n", "eng | \n", "v1 | \n", "Human Mobility | \n", "Unacast | \n", "carto-do-public-data.carto.geography_phl_quadg... | \n", "carto-do.unacast.humanmobility_homeandwork_phl... | \n", "
20 | \n", "expn_sociodemogr_8d3aa47a | \n", "Sociodemographics - Philippines (Grid 250m) | \n", "Worldview combines Experian's own datasets wit... | \n", "demographics | \n", "phl | \n", "sociodemographics | \n", "experian | \n", "Grid 250m - Philippines | \n", "Experian 250mx250m grid cells | \n", "yearly | \n", "[2019-01-01, 2020-01-01) | \n", "None | \n", "False | \n", "eng | \n", "2020 | \n", "Demographics | \n", "Experian | \n", "carto-do.experian.geography_phl_grid_v1 | \n", "carto-do.experian.demographics_sociodemographi... | \n", "
21 | \n", "ws_forecast_39e1ab6a | \n", "Forecast - Spain (Municipality, hourly) | \n", "10 and 15-day weather forecasts | \n", "environmental | \n", "esp | \n", "forecast | \n", "weather_source | \n", "Municipality (Spain) | \n", "2020 Municipalities, from the Instituto Geográ... | \n", "hourly | \n", "None | \n", "daily | \n", "False | \n", "eng | \n", "v1 | \n", "Environmental | \n", "Weather Source | \n", "carto-do-public-data.esp_ign.geography_esp_mun... | \n", "carto-do.weather_source.environmental_forecast... | \n", "
22 | \n", "ws_historic_43f694cc | \n", "Historic - Spain (Municipality, hourly) | \n", "Past weather data from the year 2000 to present | \n", "environmental | \n", "esp | \n", "historic | \n", "weather_source | \n", "Municipality (Spain) | \n", "2020 Municipalities, from the Instituto Geográ... | \n", "hourly | \n", "None | \n", "daily | \n", "False | \n", "eng | \n", "v1 | \n", "Environmental | \n", "Weather Source | \n", "carto-do-public-data.esp_ign.geography_esp_mun... | \n", "carto-do.weather_source.environmental_historic... | \n", "
\n", " | male | \n", "geoid | \n", "female | \n", "retail | \n", "leisure | \n", "tourism | \n", "education | \n", "financial | \n", "food_drink | \n", "healthcare | \n", "population | \n", "country_iso | \n", "male_1_to_4 | \n", "male_5_to_9 | \n", "male_under_1 | \n", "female_1_to_4 | \n", "female_5_to_9 | \n", "male_10_to_14 | \n", "male_15_to_19 | \n", "male_20_to_24 | \n", "male_25_to_29 | \n", "male_30_to_34 | \n", "male_35_to_39 | \n", "male_40_to_44 | \n", "male_45_to_49 | \n", "male_50_to_54 | \n", "male_55_to_59 | \n", "male_60_to_64 | \n", "male_65_to_69 | \n", "male_70_to_74 | \n", "male_75_to_79 | \n", "country_iso_a3 | \n", "female_under_1 | \n", "transportation | \n", "female_10_to_14 | \n", "female_15_to_19 | \n", "female_20_to_24 | \n", "female_25_to_29 | \n", "female_30_to_34 | \n", "female_35_to_39 | \n", "female_40_to_44 | \n", "female_45_to_49 | \n", "female_50_to_54 | \n", "female_55_to_59 | \n", "female_60_to_64 | \n", "female_65_to_69 | \n", "female_70_to_74 | \n", "female_75_to_79 | \n", "male_80_and_over | \n", "female_80_and_over | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "3157.484307 | \n", "031332122022031 | \n", "3314.603374 | \n", "202 | \n", "2 | \n", "30 | \n", "3 | \n", "20 | \n", "217 | \n", "17 | \n", "6987.135426 | \n", "Spain | \n", "120.913153 | \n", "163.556262 | \n", "30.859980 | \n", "112.445169 | \n", "152.122509 | \n", "179.977780 | \n", "169.691305 | \n", "162.016885 | \n", "168.189652 | \n", "180.966714 | \n", "220.835550 | \n", "269.261748 | \n", "263.299398 | \n", "248.028995 | \n", "227.292451 | \n", "196.722677 | \n", "161.299894 | \n", "142.868832 | \n", "105.937552 | \n", "ESP | \n", "28.693915 | \n", "62 | \n", "169.153640 | \n", "158.909087 | \n", "153.972406 | \n", "164.477591 | \n", "177.747316 | \n", "219.014149 | \n", "267.756015 | \n", "268.073208 | \n", "256.767236 | \n", "237.604333 | \n", "208.339251 | \n", "177.525427 | \n", "167.336132 | \n", "139.422190 | \n", "145.765479 | \n", "255.243802 | \n", "
1 | \n", "3100.709744 | \n", "031333212123113 | \n", "3112.707666 | \n", "397 | \n", "7 | \n", "18 | \n", "13 | \n", "29 | \n", "227 | \n", "41 | \n", "6213.417445 | \n", "Spain | \n", "116.135321 | \n", "156.329847 | \n", "29.640561 | \n", "107.896359 | \n", "146.732161 | \n", "171.439127 | \n", "162.141215 | \n", "156.255203 | \n", "163.785669 | \n", "177.375590 | \n", "216.347498 | \n", "264.268170 | \n", "258.871424 | \n", "245.878540 | \n", "227.791271 | \n", "199.504164 | \n", "161.553366 | \n", "141.963759 | \n", "104.895240 | \n", "ESP | \n", "27.533142 | \n", "115 | \n", "163.738535 | \n", "153.326000 | \n", "147.104910 | \n", "155.585855 | \n", "167.001699 | \n", "205.922699 | \n", "251.286604 | \n", "251.263774 | \n", "238.742479 | \n", "218.524946 | \n", "189.368642 | \n", "163.730100 | \n", "155.843235 | \n", "130.658199 | \n", "146.533779 | \n", "238.448327 | \n", "
2 | \n", "5563.234994 | \n", "031333330303331 | \n", "5634.263423 | \n", "267 | \n", "5 | \n", "33 | \n", "10 | \n", "32 | \n", "230 | \n", "39 | \n", "11197.498466 | \n", "Spain | \n", "207.438940 | \n", "282.454383 | \n", "52.943473 | \n", "196.299369 | \n", "263.708241 | \n", "310.187053 | \n", "294.944600 | \n", "277.136621 | \n", "291.315402 | \n", "318.226120 | \n", "392.201611 | \n", "481.832879 | \n", "471.522448 | \n", "446.028405 | \n", "404.935209 | \n", "345.842258 | \n", "282.652461 | \n", "251.291441 | \n", "187.960022 | \n", "ESP | \n", "50.091947 | \n", "124 | \n", "293.852755 | \n", "273.574052 | \n", "269.563257 | \n", "284.239360 | \n", "302.392749 | \n", "368.791786 | \n", "447.273132 | \n", "447.816753 | \n", "427.330467 | \n", "399.392763 | \n", "354.964127 | \n", "303.556543 | \n", "285.400862 | \n", "236.542165 | \n", "264.321666 | \n", "429.473098 | \n", "
3 | \n", "5752.487674 | \n", "033121230020013 | \n", "5897.919277 | \n", "392 | \n", "9 | \n", "19 | \n", "22 | \n", "41 | \n", "239 | \n", "46 | \n", "13530.062792 | \n", "Spain | \n", "214.959833 | \n", "292.499451 | \n", "54.862983 | \n", "205.108661 | \n", "275.753969 | \n", "323.571403 | \n", "298.909093 | \n", "289.252283 | \n", "296.326437 | \n", "318.596845 | \n", "400.574748 | \n", "495.122733 | \n", "488.513948 | \n", "459.693972 | \n", "418.807097 | \n", "358.926419 | \n", "296.731579 | \n", "266.983096 | \n", "198.371388 | \n", "ESP | \n", "52.339912 | \n", "54 | \n", "304.900184 | \n", "292.604586 | \n", "279.560116 | \n", "302.507961 | \n", "327.124385 | \n", "391.198812 | \n", "471.563116 | \n", "468.010031 | \n", "448.989864 | \n", "418.053752 | \n", "370.225668 | \n", "313.187995 | \n", "291.416965 | \n", "243.300764 | \n", "279.784366 | \n", "442.072536 | \n", "
4 | \n", "4920.401140 | \n", "033110331211321 | \n", "5101.838268 | \n", "386 | \n", "12 | \n", "24 | \n", "11 | \n", "17 | \n", "240 | \n", "38 | \n", "10022.239175 | \n", "Spain | \n", "185.931533 | \n", "251.828674 | \n", "47.454258 | \n", "175.431490 | \n", "237.010205 | \n", "277.479072 | \n", "262.715527 | \n", "251.839640 | \n", "260.796087 | \n", "279.359516 | \n", "345.971107 | \n", "422.165983 | \n", "413.846829 | \n", "389.538337 | \n", "356.188780 | \n", "306.779508 | \n", "250.842350 | \n", "222.981889 | \n", "164.327410 | \n", "ESP | \n", "44.766853 | \n", "49 | \n", "263.162347 | \n", "246.132949 | \n", "237.480096 | \n", "254.350030 | \n", "276.120897 | \n", "335.150496 | \n", "409.423620 | \n", "409.001029 | \n", "392.155128 | \n", "363.719101 | \n", "320.472125 | \n", "273.839742 | \n", "257.380644 | \n", "215.620176 | \n", "230.354640 | \n", "390.621340 | \n", "
5 | \n", "10488.067253 | \n", "120222233002302 | \n", "10980.102434 | \n", "206 | \n", "5 | \n", "39 | \n", "9 | \n", "19 | \n", "240 | \n", "29 | \n", "21468.169211 | \n", "Spain | \n", "399.577618 | \n", "543.086551 | \n", "101.981938 | \n", "374.481191 | \n", "504.032327 | \n", "597.000008 | \n", "565.179574 | \n", "533.200418 | \n", "543.255342 | \n", "585.150797 | \n", "735.436253 | \n", "911.480321 | \n", "896.233391 | \n", "834.498850 | \n", "751.953428 | \n", "646.956267 | \n", "529.950073 | \n", "474.194427 | \n", "357.228428 | \n", "ESP | \n", "95.560624 | \n", "172 | \n", "561.082684 | \n", "524.800891 | \n", "514.948448 | \n", "560.215039 | \n", "604.717769 | \n", "723.562416 | \n", "869.828768 | \n", "866.350490 | \n", "839.930112 | \n", "790.127512 | \n", "696.650138 | \n", "593.946884 | \n", "554.767677 | \n", "456.639502 | \n", "481.703569 | \n", "848.459962 | \n", "
6 | \n", "10691.776215 | \n", "120222233002303 | \n", "11193.368209 | \n", "144 | \n", "6 | \n", "44 | \n", "13 | \n", "30 | \n", "240 | \n", "40 | \n", "21885.144834 | \n", "Spain | \n", "407.338614 | \n", "553.634872 | \n", "103.962726 | \n", "381.754702 | \n", "513.822090 | \n", "608.595502 | \n", "576.157012 | \n", "543.556738 | \n", "553.806953 | \n", "596.516153 | \n", "749.720600 | \n", "929.183921 | \n", "913.640858 | \n", "850.707247 | \n", "766.558575 | \n", "659.522022 | \n", "540.243248 | \n", "483.404662 | \n", "364.166840 | \n", "ESP | \n", "97.416694 | \n", "193 | \n", "571.980562 | \n", "534.994066 | \n", "524.950252 | \n", "571.096036 | \n", "616.463167 | \n", "737.616141 | \n", "886.723386 | \n", "883.177559 | \n", "856.244038 | \n", "805.474094 | \n", "710.181137 | \n", "605.483075 | \n", "565.542897 | \n", "465.508790 | \n", "491.059674 | \n", "864.939521 | \n", "
7 | \n", "7046.002774 | \n", "033111012101130 | \n", "7718.364580 | \n", "575 | \n", "12 | \n", "81 | \n", "38 | \n", "25 | \n", "501 | \n", "48 | \n", "14764.367519 | \n", "Spain | \n", "273.552370 | \n", "370.482714 | \n", "69.817227 | \n", "258.793396 | \n", "349.655445 | \n", "408.169877 | \n", "384.237815 | \n", "361.315362 | \n", "370.977625 | \n", "400.892505 | \n", "496.398761 | \n", "607.745009 | \n", "596.215580 | \n", "555.359332 | \n", "500.855984 | \n", "426.264436 | \n", "351.705464 | \n", "316.607648 | \n", "235.482475 | \n", "ESP | \n", "66.039259 | \n", "151 | \n", "388.281731 | \n", "365.377672 | \n", "359.531128 | \n", "387.915307 | \n", "417.419276 | \n", "507.002730 | \n", "617.319966 | \n", "615.971377 | \n", "596.200625 | \n", "559.683816 | \n", "497.777880 | \n", "421.235484 | \n", "391.043486 | \n", "324.241345 | \n", "319.922590 | \n", "594.874658 | \n", "
8 | \n", "4880.515167 | \n", "033111230333220 | \n", "5060.481569 | \n", "234 | \n", "5 | \n", "60 | \n", "4 | \n", "17 | \n", "247 | \n", "15 | \n", "9940.996620 | \n", "Spain | \n", "184.424333 | \n", "249.787283 | \n", "47.069582 | \n", "174.009405 | \n", "235.088947 | \n", "275.229765 | \n", "260.585895 | \n", "249.798178 | \n", "258.682006 | \n", "277.094953 | \n", "343.166571 | \n", "418.743808 | \n", "410.492089 | \n", "386.380638 | \n", "353.301415 | \n", "304.292676 | \n", "248.808967 | \n", "221.174350 | \n", "162.995328 | \n", "ESP | \n", "44.403963 | \n", "79 | \n", "261.029094 | \n", "244.137743 | \n", "235.555022 | \n", "252.288204 | \n", "273.882590 | \n", "332.433680 | \n", "406.104742 | \n", "405.685562 | \n", "388.976229 | \n", "360.770708 | \n", "317.874315 | \n", "271.619926 | \n", "255.294256 | \n", "213.872313 | \n", "228.487330 | \n", "387.454870 | \n", "
9 | \n", "6940.973733 | \n", "031333033310323 | \n", "7317.757894 | \n", "320 | \n", "15 | \n", "21 | \n", "1 | \n", "36 | \n", "251 | \n", "33 | \n", "14258.731450 | \n", "Spain | \n", "264.518769 | \n", "357.406697 | \n", "67.511636 | \n", "249.595717 | \n", "338.068831 | \n", "394.396529 | \n", "372.588657 | \n", "354.263577 | \n", "365.453562 | \n", "393.743390 | \n", "489.236870 | \n", "600.947986 | \n", "590.391082 | \n", "546.894724 | \n", "499.339633 | \n", "430.833752 | \n", "355.374173 | \n", "313.106841 | \n", "232.581040 | \n", "ESP | \n", "63.692182 | \n", "110 | \n", "374.778970 | \n", "351.354713 | \n", "341.896086 | \n", "367.449503 | \n", "396.543658 | \n", "479.801048 | \n", "582.162156 | \n", "580.282089 | \n", "565.227739 | \n", "524.879842 | \n", "461.562910 | \n", "391.095832 | \n", "370.309326 | \n", "307.973901 | \n", "312.384817 | \n", "571.083390 | \n", "
\n", " | slug | \n", "name | \n", "description | \n", "country_id | \n", "provider_id | \n", "geom_type | \n", "geom_coverage | \n", "update_frequency | \n", "is_public_data | \n", "lang | \n", "version | \n", "provider_name | \n", "id | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "wof_ancestors_eaaeac75 | \n", "Ancestors - Global | \n", "A normalized view of the hierarchies in 'geojs... | \n", "glo | \n", "whos_on_first | \n", "MULTIPLE | \n", "None | \n", "None | \n", "True | \n", "eng | \n", "20190520 | \n", "Who's On First | \n", "carto-do-public-data.whos_on_first.geography_g... | \n", "
1 | \n", "wof_concordance_392f80ad | \n", "Concordances - Global | \n", "Relationship between Who's On First identifier... | \n", "glo | \n", "whos_on_first | \n", "MULTIPLE | \n", "None | \n", "None | \n", "True | \n", "eng | \n", "20190520 | \n", "Who's On First | \n", "carto-do-public-data.whos_on_first.geography_g... | \n", "
2 | \n", "wof_geojson_4e78587c | \n", "GeoJSON - Global | \n", "The main table in Who's On First. Holds all th... | \n", "glo | \n", "whos_on_first | \n", "MULTIPLE | \n", "None | \n", "None | \n", "True | \n", "eng | \n", "20190520 | \n", "Who's On First | \n", "carto-do-public-data.whos_on_first.geography_g... | \n", "
3 | \n", "wof_names_5a30fa98 | \n", "Names - Global | \n", "What things are called in Who's On First. A no... | \n", "glo | \n", "whos_on_first | \n", "MULTIPLE | \n", "None | \n", "None | \n", "True | \n", "eng | \n", "20190520 | \n", "Who's On First | \n", "carto-do-public-data.whos_on_first.geography_g... | \n", "
4 | \n", "wof_spr_850ad7e9 | \n", "Standard Places Response - Global | \n", "The \"Standard Places Response\" (or SPR) is an ... | \n", "glo | \n", "whos_on_first | \n", "MULTIPLE | \n", "None | \n", "None | \n", "True | \n", "eng | \n", "20190520 | \n", "Who's On First | \n", "carto-do-public-data.whos_on_first.geography_g... | \n", "
\n", " | geoid | \n", "id | \n", "body | \n", "name | \n", "country | \n", "parent_id | \n", "is_current | \n", "placetype | \n", "geometry_type | \n", "bbox | \n", "geom | \n", "lastmodified | \n", "lastmodified_timestamp | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "85682783 | \n", "85682783 | \n", "{\"id\": 85682783, \"type\": \"Feature\", \"propertie... | \n", "Madrid | \n", "ES | \n", "404227387 | \n", "1 | \n", "region | \n", "MultiPolygon | \n", "POLYGON((-3.05298331 39.88471951, -3.05298331 ... | \n", "MULTIPOLYGON(((-4.31950989 40.64764365, -4.318... | \n", "1553814873 | \n", "2019-03-28 23:14:33+00:00 | \n", "
1 | \n", "101748283 | \n", "101748283 | \n", "{\"id\": 101748283, \"type\": \"Feature\", \"properti... | \n", "Madrid | \n", "ES | \n", "85682783 | \n", "1 | \n", "locality | \n", "MultiPolygon | \n", "POLYGON((-3.5180508952556 40.312064309035, -3.... | \n", "POLYGON((-3.77455610356056 40.4003144849762, -... | \n", "1536881193 | \n", "2018-09-13 23:26:33+00:00 | \n", "
2 | \n", "404338863 | \n", "404338863 | \n", "{\"id\": 404338863, \"type\": \"Feature\", \"properti... | \n", "Madrid | \n", "ES | \n", "85682783 | \n", "0 | \n", "localadmin | \n", "Polygon | \n", "POLYGON((-3.51823494 40.31206394, -3.51823494 ... | \n", "POLYGON((-3.88557655 40.57445562, -3.88560442 ... | \n", "1513267506 | \n", "2017-12-14 16:05:06+00:00 | \n", "
\n", " | geoid | \n", "do_date | \n", "country_iso | \n", "country_iso_a3 | \n", "population | \n", "female | \n", "male | \n", "female_under_1 | \n", "female_1_to_4 | \n", "female_5_to_9 | \n", "female_10_to_14 | \n", "female_15_to_19 | \n", "female_20_to_24 | \n", "female_25_to_29 | \n", "female_30_to_34 | \n", "female_35_to_39 | \n", "female_40_to_44 | \n", "female_45_to_49 | \n", "female_50_to_54 | \n", "female_55_to_59 | \n", "female_60_to_64 | \n", "female_65_to_69 | \n", "female_70_to_74 | \n", "female_75_to_79 | \n", "female_80_and_over | \n", "male_under_1 | \n", "male_1_to_4 | \n", "male_5_to_9 | \n", "male_10_to_14 | \n", "male_15_to_19 | \n", "male_20_to_24 | \n", "male_25_to_29 | \n", "male_30_to_34 | \n", "male_35_to_39 | \n", "male_40_to_44 | \n", "male_45_to_49 | \n", "male_50_to_54 | \n", "male_55_to_59 | \n", "male_60_to_64 | \n", "male_65_to_69 | \n", "male_70_to_74 | \n", "male_75_to_79 | \n", "male_80_and_over | \n", "retail | \n", "education | \n", "financial | \n", "food_drink | \n", "healthcare | \n", "leisure | \n", "tourism | \n", "transportation | \n", "geom | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "33111012100231 | \n", "2020-01-01 | \n", "Spain | \n", "ESP | \n", "2821.407676 | \n", "1474.946532 | \n", "1346.461074 | \n", "12.619821 | \n", "49.454314 | \n", "66.817661 | \n", "74.198982 | \n", "69.822116 | \n", "68.704864 | \n", "74.128956 | \n", "79.767044 | \n", "96.886058 | \n", "117.967211 | \n", "117.709500 | \n", "113.931398 | \n", "106.953191 | \n", "95.123228 | \n", "80.496302 | \n", "74.726742 | \n", "61.961138 | \n", "113.678006 | \n", "13.341774 | \n", "52.274691 | \n", "70.797669 | \n", "77.999520 | \n", "73.426207 | \n", "69.045821 | \n", "70.892240 | \n", "76.608848 | \n", "94.859687 | \n", "116.137476 | \n", "113.934257 | \n", "106.126800 | \n", "95.711441 | \n", "81.457317 | \n", "67.209413 | \n", "60.502372 | \n", "44.999696 | \n", "61.135845 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "POLYGON((-3.8232421875 40.3883968738836, -3.82... | \n", "
1 | \n", "33111012112103 | \n", "2020-01-01 | \n", "Spain | \n", "ESP | \n", "4211.926348 | \n", "2201.867659 | \n", "2010.058675 | \n", "18.839446 | \n", "73.827662 | \n", "99.748466 | \n", "110.767639 | \n", "104.233648 | \n", "102.565767 | \n", "110.663101 | \n", "119.079892 | \n", "144.635941 | \n", "176.106851 | \n", "175.722126 | \n", "170.081996 | \n", "159.664616 | \n", "142.004305 | \n", "120.168563 | \n", "111.555494 | \n", "92.498418 | \n", "169.703728 | \n", "19.917212 | \n", "78.038052 | \n", "105.689998 | \n", "116.441251 | \n", "109.613998 | \n", "103.074766 | \n", "105.831180 | \n", "114.365187 | \n", "141.610877 | \n", "173.375340 | \n", "170.086271 | \n", "158.430937 | \n", "142.882415 | \n", "121.603210 | \n", "100.333285 | \n", "90.320708 | \n", "67.177605 | \n", "91.266383 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "3 | \n", "0 | \n", "0 | \n", "POLYGON((-3.62548828125 40.3632883409158, -3.6... | \n", "
2 | \n", "33111010333003 | \n", "2020-01-01 | \n", "Spain | \n", "ESP | \n", "2940.160426 | \n", "1537.026955 | \n", "1403.133529 | \n", "13.150988 | \n", "51.535844 | \n", "69.630015 | \n", "77.322015 | \n", "72.760923 | \n", "71.596650 | \n", "77.249042 | \n", "83.124433 | \n", "100.963990 | \n", "122.932445 | \n", "122.663887 | \n", "118.726763 | \n", "111.454846 | \n", "99.126961 | \n", "83.884388 | \n", "77.871984 | \n", "64.569077 | \n", "118.462706 | \n", "13.903329 | \n", "54.474931 | \n", "73.777536 | \n", "81.282515 | \n", "76.516709 | \n", "71.951957 | \n", "73.876093 | \n", "79.833307 | \n", "98.852327 | \n", "121.025696 | \n", "118.729742 | \n", "110.593669 | \n", "99.739928 | \n", "84.885847 | \n", "70.038255 | \n", "63.048912 | \n", "46.893730 | \n", "63.709045 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "POLYGON((-3.58154296875 40.4970923726957, -3.5... | \n", "
3 | \n", "33111010323201 | \n", "2020-01-01 | \n", "Spain | \n", "ESP | \n", "1953.053871 | \n", "1020.997463 | \n", "932.056375 | \n", "8.735778 | \n", "34.233599 | \n", "46.252975 | \n", "51.362523 | \n", "48.332735 | \n", "47.559346 | \n", "51.314049 | \n", "55.216883 | \n", "67.067124 | \n", "81.660059 | \n", "81.481666 | \n", "78.866360 | \n", "74.035860 | \n", "65.846845 | \n", "55.721696 | \n", "51.727849 | \n", "42.891157 | \n", "78.690959 | \n", "9.235533 | \n", "36.185940 | \n", "49.008038 | \n", "53.993354 | \n", "50.827584 | \n", "47.795366 | \n", "49.073507 | \n", "53.030693 | \n", "65.664412 | \n", "80.393471 | \n", "78.868340 | \n", "73.463809 | \n", "66.254020 | \n", "56.386934 | \n", "46.524153 | \n", "41.881360 | \n", "31.149994 | \n", "42.319865 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "POLYGON((-3.75732421875 40.4720243969206, -3.7... | \n", "
4 | \n", "33111010302231 | \n", "2020-01-01 | \n", "Spain | \n", "ESP | \n", "26.484580 | \n", "13.845337 | \n", "12.639243 | \n", "0.118462 | \n", "0.464228 | \n", "0.627218 | \n", "0.696507 | \n", "0.655421 | \n", "0.644933 | \n", "0.695849 | \n", "0.748774 | \n", "0.909470 | \n", "1.107359 | \n", "1.104940 | \n", "1.069475 | \n", "1.003971 | \n", "0.892923 | \n", "0.755620 | \n", "0.701461 | \n", "0.581630 | \n", "1.067097 | \n", "0.125239 | \n", "0.490703 | \n", "0.664578 | \n", "0.732182 | \n", "0.689252 | \n", "0.648134 | \n", "0.665466 | \n", "0.719128 | \n", "0.890449 | \n", "1.090184 | \n", "1.069502 | \n", "0.996213 | \n", "0.898444 | \n", "0.764641 | \n", "0.630895 | \n", "0.567936 | \n", "0.422413 | \n", "0.573883 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "POLYGON((-3.8232421875 40.5889281696937, -3.82... | \n", "