{
  "name": "Excel worksheet and range controls across Stata, readxl and pandas",
  "description": "Original crosswalk compiled from the official Stata import excel manual, readxl examples and pandas read_excel reference. It distinguishes named-sheet controls, rectangular ranges and column selection; the controls are not interchangeable commands.",
  "page": "https://casrai.org/guides/importing-excel-into-stata",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-17T12:40:18Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Import route",
      "unit": "",
      "description": ""
    },
    {
      "name": "Named worksheet control",
      "unit": "",
      "description": ""
    },
    {
      "name": "Cell or column selection",
      "unit": "",
      "description": ""
    },
    {
      "name": "Selection meaning",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Import route": "Stata import excel",
      "Named worksheet control": "sheet(\"Responses\")",
      "Cell or column selection": "cellrange(A4:C8)",
      "Selection meaning": "An Excel rectangle bounded by starting and ending cells."
    },
    {
      "Import route": "R readxl::read_excel",
      "Named worksheet control": "sheet = \"Responses\"",
      "Cell or column selection": "range = \"A4:C8\"",
      "Selection meaning": "An Excel-style cell range."
    },
    {
      "Import route": "Python pandas.read_excel",
      "Named worksheet control": "sheet_name = \"Responses\"",
      "Cell or column selection": "usecols = \"A:C\"",
      "Selection meaning": "An inclusive column selection; row controls are separate."
    }
  ],
  "sources": [
    {
      "title": "StataCorp: import excel — Import and export Excel files",
      "url": "https://www.stata.com/manuals/dimportexcel.pdf",
      "accessed": "2026-11-17"
    },
    {
      "title": "readxl: Read Excel Files",
      "url": "https://readxl.tidyverse.org/",
      "accessed": "2026-11-17"
    },
    {
      "title": "pandas: pandas.read_excel",
      "url": "https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html",
      "accessed": "2026-11-17"
    }
  ]
}