{"id":50595086,"url":"https://github.com/consbio/dm-quickstart","last_synced_at":"2026-06-05T13:31:41.481Z","repository":{"id":103453025,"uuid":"43317976","full_name":"consbio/dm-quickstart","owner":"consbio","description":"Dimensional Mapping - Quickstart","archived":false,"fork":false,"pushed_at":"2015-09-28T18:09:04.000Z","size":316,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2023-03-30T10:29:04.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/consbio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-28T18:08:57.000Z","updated_at":"2023-03-30T10:29:04.207Z","dependencies_parsed_at":"2023-03-13T15:08:33.514Z","dependency_job_id":null,"html_url":"https://github.com/consbio/dm-quickstart","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/consbio/dm-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consbio%2Fdm-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consbio%2Fdm-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consbio%2Fdm-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consbio%2Fdm-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/consbio","download_url":"https://codeload.github.com/consbio/dm-quickstart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consbio%2Fdm-quickstart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33944671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-05T13:31:40.666Z","updated_at":"2026-06-05T13:31:41.474Z","avatar_url":"https://github.com/consbio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dimensional Mapping - Quickstart\nThis project is intended to make it easier to start up a new project to do\ndimensional mapping of features from a topojson file plus associated attributes \nin a CSV file.\n\n\n## Work in progress!\nPretty much anything is subject to change at this point.\n\n\n## Basic assumptions\n* features are contained in a topojson file, and contain an 'id' field set for \neach feature (not in properties, use feature-level id field instead)\n* attributes are contained in a CSV file, and are joined one to one to features\nusing the 'id' field.\n* one to many attributes can be represented shorthand format in the CSV: \n'first_key:first_value|second_key:second_value'.  These will be parsed into\n\n\n\n## Config\nYou must provide a config file (`static/config.json`) with the data structure\nfor your project.\n\nExample:\n\n```\n{\n  \"data\": {\n    \"file\": \"attributes.csv\",  // filename of attributes CSV, in /static\n    \"fieldConfig\": [  // List any fields that require aliases or parsers \n      {\n        \"field\": \"field1\",\n        \"alias\": \"First Field\"\n      },\n      {\n        \"field\": \"field2\",\n        \"alias\": \"Second Field\",\n        \"parser\": \"map\"  // Only special parser at present.  Uses shorthand form of one to many key:value pairs\n      }\n    ],\n    \"dimensions\": [\"field1\"]  // specifies the dimensions that will be used for dimensional filtering\n  },\n  \"features\": {\n    \"file\": \"features.json\"  // filename of features topojson, in /static\n  },\n  \"map\": {\n    \"basemap\": \"ESRI Topo\",  // default basemap; will default to 'ESRI Topo' if not provided\n    \"geonamesUser\": \"your.username\"  // Geonames username; required to use Leaflet.Geonames widget (will not be added if this is username is not specfied)\n  }\n}\n```\n\n## Dependencies \n* Leaflet\n* D3\n* dc.js\n* lodash\n* crossfilter\n* [Leaflet.ZoomBox](https://github.com/consbio/Leaflet.ZoomBox)\n* [Leaflet.Geonames](https://github.com/consbio/Leaflet.Geonames)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsbio%2Fdm-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconsbio%2Fdm-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsbio%2Fdm-quickstart/lists"}