home / cp40x

names

5 rows where case_id = 2121805

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4276757 2121805 2121805 plaintiff Edgeott William     Edgeott, William 0
4276758 2121805 2121805 defendant Julyan Thomas tanner 728377 728377 Julyan, Thomas, of Rawryth, tanner 0
4276759 2121805 2121805 defendant Sonnerde Henry   728378 728378 Sonnerde, Henry, of Walton in le Soke yeoman 1
4276760 2121805 2121805 defendant Hopkyns Thomas husbandman 602547 602547 Hopkyns, Thomas, of Magna Bentley, or of Est Hanyngfeild, husbandman 2
4276761 2121805 2121805 defendant Marshe Michael cooper 585960 585960 Marshe, Michael, of Burneham, cooper 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 14.533ms