home / cp40x

names

7 rows where case_id = 2345555

✎ 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
4962028 2345555 2345555 plaintiff Braytoft John (legal representative) 586117 586117 Braytoft, John, of Coventry, mercer, executor of 0
4962029 2345555 2345555 plaintiff Braytoft William     Braytoft, William 1
4962030 2345555 2345555 defendant Broun Adam clerk 601861 601861 Broun, Adam, of Thorp Langton, Leics, clerk 0
4962031 2345555 2345555 defendant Gerves Robert yeoman 587802 587802 Gerves, Robert, of Thorp Langton, yeoman 1
4962032 2345555 2345555 defendant Bene John chapman 643975 643975 Bene, John, of Exston, Rutland, chapman 2
4962033 2345555 2345555 defendant Dygman Richard chapman 827851 827851 Dygman, Richard, of Langham, Leics, chapman 3
4962034 2345555 2345555 defendant Bartilmewe Thomas chapman 657357 657357 Bartilmewe, Thomas, of Fayrford, Glos, chapman 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 18.158ms