diff --git a/README.md b/README.md index d7f60e8..1561273 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,7 @@ The data provided in this repo is public and located at the following URLs: - [2017 Unemployment Rates for U.S. Counties](./county_unemployment) This dataset contains 2017 labor force information from the [Bureau of Labor Statistics](https://www.bls.gov/lau/#tables) joined with county shapefiles from the [Census Bureau](https://www.census.gov/geo/maps-data/data/cbf/cbf_counties.html). + +- [Block-level Earnings New York City (GeoArrow)](./nyc_earnings) + + This GeoArrow dataset contains block-level earnings data of New York City from 2002 to 2014. The map is a Quantile map based on the total number of jobs in year 2000-2002. Data is prepared by [the Center for Spatial Data Science at University of Chicago](https://spatial.uchicago.edu). Data source: [CSDS](https://geodacenter.github.io/data-and-lab/LEHD_Data/). diff --git a/nyc_earnings/config.json b/nyc_earnings/config.json new file mode 100644 index 0000000..b6b8a27 --- /dev/null +++ b/nyc_earnings/config.json @@ -0,0 +1,146 @@ +{ + "version": "v1", + "config": { + "visState": { + "filters": [], + "layers": [ + { + "id": "hkc2hq", + "type": "geojson", + "config": { + "dataId": "-svoeb1", + "label": "nyc", + "color": [255, 203, 153], + "highlightColor": [252, 242, 26, 255], + "columns": { "geojson": "geometry" }, + "isVisible": true, + "visConfig": { + "opacity": 0.8, + "strokeOpacity": 0.8, + "thickness": 0.1, + "strokeColor": [241, 241, 241], + "colorRange": { + "name": "UberPool 6", + "type": "diverging", + "category": "Uber", + "colors": [ + "#213E9A", + "#551EAD", + "#C019BD", + "#D31256", + "#E6470A", + "#F9E200" + ] + }, + "strokeColorRange": { + "name": "Global Warming", + "type": "sequential", + "category": "Uber", + "colors": [ + "#5A1846", + "#900C3F", + "#C70039", + "#E3611C", + "#F1920E", + "#FFC300" + ] + }, + "radius": 10, + "sizeRange": [0, 10], + "radiusRange": [0, 50], + "heightRange": [0, 500], + "elevationScale": 5, + "enableElevationZoomFactor": true, + "stroked": true, + "filled": true, + "enable3d": false, + "wireframe": false + }, + "hidden": false, + "textLabel": [ + { + "field": null, + "color": [255, 255, 255], + "size": 18, + "offset": [0, 0], + "anchor": "start", + "alignment": "center", + "outlineWidth": 0, + "outlineColor": [255, 0, 0, 255], + "background": false, + "backgroundColor": [0, 0, 200, 255] + } + ] + }, + "visualChannels": { + "colorField": { "name": "C000_02", "type": "integer" }, + "colorScale": "quantile", + "strokeColorField": null, + "strokeColorScale": "quantile", + "sizeField": null, + "sizeScale": "linear", + "heightField": null, + "heightScale": "linear", + "radiusField": null, + "radiusScale": "linear" + } + } + ], + "effects": [], + "interactionConfig": { + "tooltip": { + "fieldsToShow": { + "-svoeb1": [ + { "name": "STATEFP10", "format": null }, + { "name": "COUNTYFP10", "format": null }, + { "name": "TRACTCE10", "format": null }, + { "name": "BLOCKCE10", "format": null }, + { "name": "GEOID10", "format": null } + ] + }, + "compareMode": false, + "compareType": "absolute", + "enabled": true + }, + "brush": { "size": 0.5, "enabled": false }, + "geocoder": { "enabled": false }, + "coordinate": { "enabled": false } + }, + "layerBlending": "normal", + "overlayBlending": "normal", + "splitMaps": [], + "animationConfig": { "currentTime": null, "speed": 1 }, + "editor": { "features": [], "visible": true } + }, + "mapState": { + "bearing": 0, + "dragRotate": false, + "latitude": 40.94962909781395, + "longitude": -73.09033390902026, + "pitch": 0, + "zoom": 8.828968302163942, + "isSplit": false, + "isViewportSynced": true, + "isZoomLocked": false, + "splitMapViewports": [] + }, + "mapStyle": { + "styleType": "dark", + "topLayerGroups": { "label": true }, + "visibleLayerGroups": { + "label": true, + "road": true, + "border": false, + "building": true, + "water": true, + "land": true, + "3d building": false + }, + "threeDBuildingColor": [ + 9.665468314072013, 17.18305478057247, 31.1442867897876 + ], + "backgroundColor": [255, 255, 255], + "mapStyles": {} + } + } +} diff --git a/nyc_earnings/data.arrow b/nyc_earnings/data.arrow new file mode 100644 index 0000000..6f3b7c0 Binary files /dev/null and b/nyc_earnings/data.arrow differ diff --git a/nyc_earnings/nyc-earnings.png b/nyc_earnings/nyc-earnings.png new file mode 100644 index 0000000..b5945a7 Binary files /dev/null and b/nyc_earnings/nyc-earnings.png differ diff --git a/samples.json b/samples.json index a862ab8..b88db55 100644 --- a/samples.json +++ b/samples.json @@ -126,5 +126,17 @@ "description": "2017 Labor force information for U.S. Counties", "visible": false, "keplergl": "https://raw.githubusercontent.com/uber-web/kepler.gl-data/master/usdot/keplergl.json" + }, + { + "id": "nyc_earnings", + "label": "Block-level Earnings New York City (GeoArrow)", + "queryType": "sample", + "imageUrl": "https://raw.githubusercontent.com/uber-web/kepler.gl-data/master/nyc_earnings/nyc-earnings.png", + "description": "Block-level Earnings New York City (2002-14) from Longitudinal Employer-Household Dynamics (LEHD). Geographic units: 2010 Census blocks.", + "detail": " This GeoArrow dataset contains block-level earnings data of New York City from 2002 to 2014. The map is a Quantile map based on the total number of jobs in year 2000-2002. Data is prepared by [the Center for Spatial Data Science at University of Chicago](https://spatial.uchicago.edu). Data source [page](https://geodacenter.github.io/data-and-lab/LEHD_Data/).", + "size": 108487, + "visible": true, + "dataUrl": "https://raw.githubusercontent.com/uber-web/kepler.gl-data/master/nyc_earnings/data.arrow", + "configUrl": "https://raw.githubusercontent.com/uber-web/kepler.gl-data/master/nyc_earnings/config.json" } ]