{
 "schema": "aiblocks-page/1",
 "id": "agency-gis-spatial-data-scientist",
 "type": "agent",
 "name": "Spatial data scientist",
 "summary": "Plan a spatial analysis, such as hot spots, clusters or location based prediction, with the right test, bias checks and plain language results.",
 "headline": "Spatial data scientist",
 "subhead": "Give it a location question and your data. The agent picks the method, such as hot spot tests or spatial regression, and plans the checks for bias and uncertainty. You get an analysis plan, draft code and a way to explain the result.",
 "job": {
  "id": "research-topics",
  "name": "Research a topic properly"
 },
 "level": "intermediate",
 "thinking": "high",
 "tested": true,
 "updated": "2026-11-03",
 "first_published": "2026-10-26",
 "inputs": [
  {
   "type": "question",
   "required": true,
   "label": "Question",
   "what": "the problem, decision or piece of work you want help with, and what a good outcome looks like"
  },
  {
   "type": "map_data",
   "required": false,
   "label": "Map data",
   "what": "map data, such as GeoJSON, a shapefile, a GeoPackage, a raster or a point cloud, with its coordinate system and fields"
  }
 ],
 "outputs": [
  {
   "type": "plan",
   "required": true,
   "label": "Plan",
   "what": "a dated plan: what to do, in what order, with a decision rule for each step"
  }
 ],
 "you_give": [
  "The location question in one sentence, such as where are late deliveries clustered",
  "Your data: what each row is, the measure, the time span and how many rows",
  "The area units, such as points, postcodes, tracts or a grid",
  "Your tools, such as Python with GeoPandas, R, QGIS or ArcGIS Pro (optional)",
  "Whether this is exploring or testing a set idea, and who will read it",
  "Your own results to read, if you have run something (optional)"
 ],
 "you_get": [
  "The question written as a testable statement",
  "A first look plan, including a test for spatial dependence",
  "A method choice with the reason and a runner-up",
  "Numbered analysis steps and checks for bias and uncertainty",
  "Draft code in Python or R, marked as not run",
  "A way to explain the result with a map, the numbers and one plain sentence"
 ],
 "use_when": [
  "You think complaints, sales or incidents cluster in places and want to test it.",
  "You want to model prices, risk or demand using location, such as retail site choice.",
  "A regression on area data gives odd results and you suspect neighbors affect each other.",
  "Your result changes when you change the zone boundaries, and you need to test how much."
 ],
 "skip_when": [
  "You only need a clear map or a simple query: use the GIS analyst.",
  "You need to detect objects or land cover in images with machine learning: use the Geospatial machine learning planner.",
  "Your data is messy and needs cleaning or joining first: use the Spatial Data Engineer agent.",
  "Your data has no location and you need general statistics: use the Statistician agent."
 ],
 "output_sample": {
  "input": [
   "The location question in one sentence",
   "Your data: what each row is, the measure, the time span and the row count",
   "The area units, such as points or postcodes",
   "Your tools, such as Python or R (optional)"
  ],
  "prerequisites": [
   "An AI that reads pasted text, such as Claude, ChatGPT or Gemini",
   "Python or R with spatial packages to run the draft code"
  ],
  "output": [
   {
    "name": "Question and assumptions",
    "contains": "The question as one testable statement, with assumptions and MISSING items."
   },
   {
    "name": "Data and first look",
    "contains": "Checks to run before modeling, including a test for spatial dependence."
   },
   {
    "name": "Method choice",
    "contains": "The method, why it fits, its key assumption and a runner-up."
   },
   {
    "name": "Analysis steps",
    "contains": "Numbered steps with settings and the output of each."
   },
   {
    "name": "Checks",
    "contains": "Boundary sensitivity, leftovers check, cross validation and uncertainty, each with a pass line."
   },
   {
    "name": "Draft code",
    "contains": "Python or R code for the main steps, marked as not run."
   },
   {
    "name": "Explaining the result",
    "contains": "What map and numbers to show, a plain sentence template and the limits."
   },
   {
    "name": "Open questions",
    "contains": "What is unknown and what each answer changes."
   }
  ]
 },
 "output_shape": "QUESTION AND ASSUMPTIONS\n  Question <one testable sentence> | Type <exploring or testing> | Reader <who>\n  Assumed: <list> | MISSING: <list>\n\nDATA AND FIRST LOOK\n  <data item> | <check> | <what to look for> | spatial dependence test <name>\n\nMETHOD CHOICE\n  <method> | <reason> | <key assumption> | <runner-up>\n\nANALYSIS STEPS\n  <number> | <step> | <setting> | <output>\n\nCHECKS\n  <check> | <how> | <what a pass looks like>\n  Boundary sensitivity <how> | Leftovers check <how> | Uncertainty <how>\n\nRECORDS\n  Seed <value> | Data changes <log> | Failed attempts <note>\n\nDRAFT CODE (not run)\n  <Python or R code>\n\nEXPLAINING THE RESULT\n  Map <what> | Numbers <what> | Plain sentence <template> | Limits <list>\n\nOPEN QUESTIONS\n  <question> | <what the answer changes>",
 "how_to_use": [
  "Add the pack to your AI as a skill. Or open a new chat and paste SKILL.md, then references/source-agent.md.",
  "Write the question, then describe your data. List the columns, the unit of area and the row count. Leave out private details.",
  "Say 'Plan this spatial analysis. Do not guess my data.' Your AI asks once for what is missing.",
  "Read the method choice and the checks first. Say if you must use a tool you already have.",
  "Run the draft code on your data. The AI cannot. Paste the results back and ask it to help you read them.",
  "Have a qualified analyst review the work before you publish figures or make big decisions."
 ],
 "checks": [
  "The result addresses your actual task and cites the evidence used.",
  "Examples, role-play experience and targets are kept separate from verified results.",
  "Claims of tests, memory, tool access or completed actions match what actually happened."
 ],
 "next": [
  {
   "name": "Market research report writer",
   "url": "https://useaiblocks.com/skills/market-research-report-writer",
   "why": "Market research report writer"
  }
 ],
 "source": {
  "by": "Michael Sitarzewski and Agency Agents contributors",
  "repo": "msitarzewski/agency-agents",
  "url": "https://github.com/msitarzewski/agency-agents/blob/b37b5bb33b78f2c1d6567d98e25ca818e3259219/gis/gis-spatial-data-scientist.md",
  "licence": "MIT",
  "original_name": "Spatial Data Scientist",
  "commit": "b37b5bb33b78f2c1d6567d98e25ca818e3259219"
 },
 "credits": [
  {
   "title": "Spatial Data Scientist",
   "by": "Michael Sitarzewski and Agency Agents contributors",
   "url": "https://github.com/msitarzewski/agency-agents/blob/b37b5bb33b78f2c1d6567d98e25ca818e3259219/gis/gis-spatial-data-scientist.md",
   "used": "Original agent profile, preserved in references/source-agent.md; AI Blocks adds setup and review instructions."
  }
 ],
 "files": [
  "LICENSE",
  "references/source-agent.md",
  "SETUP.md",
  "source.json"
 ],
 "links": {
  "page": "https://useaiblocks.com/agents/agency-gis-spatial-data-scientist",
  "markdown": "https://useaiblocks.com/agents/agency-gis-spatial-data-scientist.md",
  "json": "https://useaiblocks.com/agents/agency-gis-spatial-data-scientist.json",
  "instructions": "https://useaiblocks.com/skills/agency-gis-spatial-data-scientist/SKILL.md",
  "download": "https://useaiblocks.com/skills/agency-gis-spatial-data-scientist.zip",
  "api_item": "https://useaiblocks.com/api/v1/items/agency-gis-spatial-data-scientist",
  "api_document": "https://useaiblocks.com/api/v1/documents/agent/agency-gis-spatial-data-scientist",
  "mcp": "https://useaiblocks.com/mcp"
 }
}
