home / cp40x

names

10 rows where case_id = 2380861

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5081130 2380861 2380861 plaintiff Courtenay Thomas Earl of Devon   Courtenay, Thomas, Earl of Devon 0
5081131 2380861 2380861 plaintiff Courtenay Thomas knight   Courtenay, Thomas, knight 1
5081132 2380861 2380861 plaintiff Talbot John esq   Talbot,John, esq 2
5081133 2380861 2380861 defendant Bonvile William   610057 610057 Bonvile, William, of Chuton, knight 0
5081134 2380861 2380861 defendant Courteney Philip knight   Courteney, Philip, knight 1
5081135 2380861 2380861 defendant Bonde Richard gent   Bonde, Richard, gent 2
5081136 2380861 2380861 defendant Wymond John clerk   Wymond, John, clerk 3
5081137 2380861 2380861 defendant Fynell John     Fynell, John 4
5081138 2380861 2380861 defendant Harry William     Harry, William 5
5081139 2380861 2380861 defendant Harry John     Harry, John 6

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.334ms