home / cp40x

names

7 rows where place_id = 838639

✎ 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
5040958 2368918 2368918 defendant Lowedale John husbandman 838639 838639 Lowedale, John, of Shelfangre, husbandman 0
5136261 2397123 2397123 defendant Lowedale John   838639 838639 Lowedale, John, of Shelfangre 0
5156607 2403087 2403087 defendant Lowedale John butcher 838639 838639 Lowedale, John, of Shelfangre, butcher 0
5210964 2418938 2418938 defendant Westmyll Robert husbandman 838639 838639 Westmyll, Robert, of Shelfangre, husbandman 1
5627194 2552471 2552471 defendant Austyn William laborer 838639 838639 Austyn, William, of Shelfangre, laborer 1
5627195 2552471 2552471 defendant Austyn Thomas, senior laborer 838639 838639 Austyn, Thomas, senior, of Shelfangre, laborer 2
5627196 2552471 2552471 defendant Austyn Thomas, junior laborer 838639 838639 Austyn, Thomas, junior, of Shelfangre, laborer 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 13.457ms