home / cp40x

names

10 rows where place_id = 662960

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3966902 2013057 2013057 defendant Sparke John miller 662960 662960 Sparke, John, of Attleborough, miller 0
3966903 2013057 2013057 defendant Thayne Richard husbandman 662960 662960 Thayne, Richard, of Attleborough, husbandman 1
4207962 2098344 2098344 defendant Cowper Henry butcher 662960 662960 Cowper, Henry, of Attleborough, butcher 0
4251311 2113416 2113416 defendant Dowe Simon yeoman 662960 662960 Dowe, Simon, of Attleborough, yeoman 0
4284018 2124327 2124327 defendant Mould Peter yeoman 662960 662960 Mould, Peter, of Attleborough, yeoman 1
4315766 2135625 2135625 defendant Barker Robert yeoman 662960 662960 Barker, Robert, of Attleborough, yeoman 0
4315767 2135625 2135625 defendant Hyll John yeoman 662960 662960 Hyll, John, of Attleborough, yeoman 1
4316065 2135734 2135734 defendant Cowper Thomas yeoman 662960 662960 Cowper, Thomas, of Attleborough, yeoman 1
4338559 2143239 2143239 defendant Dowe John singleman 662960 662960 Dowe, John, of Attleborough, yeoman, singleman 0
4355277 2149065 2149065 defendant Paston Simon husbandman 662960 662960 Paston, Simon, of Attleborough, husbandman 3

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 16.583ms