home / cp40x

names

7 rows where case_id = 2387107

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5102403 2387107 2387107 plaintiff Bernewell Simon (legal representative) 587015 587015 Bernewell, Simon, of St Albans, executors of 0
5102404 2387107 2387107 plaintiff Edrych Benedict chaplain   (Edrych, Benedict, chaplain 1
5102405 2387107 2387107 plaintiff Bernewell John, senior     Bernewell, John, senior 2
5102406 2387107 2387107 plaintiff Nunny John     Nunny, John 3
5102407 2387107 2387107 defendant Frowyk Henry esq 592718 592718 Frowyk, Henry, of South Mymmes, Middx, esq 0
5102408 2387107 2387107 defendant Mason John tailor 587015 587015 Mason, John, of St Albans, tailor 1
5102409 2387107 2387107 defendant Osteler Maurice ostler 587015 587015 Osteler, Maurice, of St Albans, ostler 2

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