home / cp40x

names

7 rows where case_id = 2442610

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5291799 2442610 2442610 plaintiff Quedhampton John     Quedhampton, John 0
5291800 2442610 2442610 plaintiff Hoper John clerk, churchwardens of Bramden   Hoper, John, clerk, churchwardens of Bramden 1
5291801 2442610 2442610 defendant Bernes John husbandman 668935 668935 Bernes, John, of Bramden, husbandman 0
5291802 2442610 2442610 defendant Osbern John husbandman 668935 668935 Osbern, John, of Bramden, husbandman 1
5291803 2442610 2442610 defendant Stokemede John cooper 587777 587777 Stokemede, John, of New Alresford, cooper 2
5291804 2442610 2442610 defendant Paty Richard husbandman 668935 668935 Paty, Richard, of Bramden, husbandman 3
5291805 2442610 2442610 defendant Kenerysdale Thomas husbandman 668935 668935 Kenerysdale, Thomas, of Bramden, husbandman 4

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