home / cp40x

names

9 rows where case_id = 2389942

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5112162 2389942 2389942 plaintiff House John, senior   607898 607898 House, John, senior, of Hatfeld Regis, administrators of 0
5112163 2389942 2389942 plaintiff A Cotys John     (A Cotys, John 1
5112164 2389942 2389942 plaintiff House John, junior     House, John, junior 2
5112165 2389942 2389942 plaintiff Barbour William, junior   607898 607898 Barbour, William, junior, of Hatfeld Regis 3
5112166 2389942 2389942 defendant Kyng John husbandman 589309 589309 Kyng, John, of Neuport, husbandman 0
5112167 2389942 2389942 defendant Herlyng John, junior butcher 589309 589309 Herlyng, John, junior, of Neuport, butcher 1
5112168 2389942 2389942 defendant Gosse John husbandman 589309 589309 Gosse, John, of Neuport, husbandman 2
5112169 2389942 2389942 defendant Colop Nicholas husbandman 847744 847744 Colop, Nicholas, of Wykkyng, husbandman 3
5112170 2389942 2389942 defendant Pake William fuller 585869 585869 Pake, William, of London, fuller 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 13.566ms