home / cp40x

names

6 rows where case_id = 1932219

✎ 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
3718994 1932219 1932219 plaintiff Grene Joan widow   Grene, Joan, widow, executrix of Grene, Robert, executor of 0
3718995 1932219 1932219 plaintiff Grene John     Grene, John 1
3718996 1932219 1932219 defendant Grysby John mercer 586435 586435 Grysby, John, of Leicester, mercer 0
3718997 1932219 1932219 defendant Clarke Richard mercer 607106 607106 Clarke, Richard, of Melton Mowbray, Leics, mercer 1
3718998 1932219 1932219 defendant Boolle John mercer 586435 586435 Boolle, John, of Leicester, mercer 2
3718999 1932219 1932219 defendant Shyryff Edmund mercer 586927 586927 Shyryff, Edmund, of Rokeby, Warks, mercer 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.662ms