home / cp40x

names

6 rows where place_id = 607406

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3669111 1916273 1916273 defendant Halstowe William husbandman 607406 607406 Halstowe, William, of Moreley, husbandman 0
3840841 1970706 1970706 defendant Ellys Robert husbandman 607406 607406 Ellys, Robert, of Moreley, husbandman 0
4059232 2045698 2045698 defendant Clarke Edward clerk 607406 607406 Clarke, Edward, of Moreley, clerk 5
4128942 2070650 2070650 defendant Medley John glover 607406 607406 Medley, John, of Moreley, glover 2
5543996 2518231 2518231 defendant Jane Hugh clerk 607406 607406 Jane, Hugh, of Moreley, clerk 0
5563292 2523860 2523860 defendant Harte Stephen husbandman 607406 607406 Harte, Stephen, of Moreley, husbandman 7

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 17.769ms