home / cp40x

names

8 rows where case_id = 1871502

✎ 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
3612381 1871502 1871502 plaintiff Bere Richard abbot of Glastonbury Abbey   Bere, Richard, abbot of Glastonbury Abbey 0
3612382 1871502 1871502 defendant Tyneham John merchant 588633 588633 Tyneham, John, of Lyme Regis, merchant 0
3612383 1871502 1871502 defendant Aysshe Thomas merchant 588633 588633 Aysshe, Thomas, of Lyme Regis, merchant 1
3612384 1871502 1871502 defendant Tyneham William mariner 588633 588633 Tyneham, William, of Lyme Regis, mariner 2
3612385 1871502 1871502 defendant Tyneham Richard mariner 588633 588633 Tyneham, Richard, of Lyme Regis, mariner 3
3612386 1871502 1871502 defendant Symond William laborer 588633 588633 Symond, William, of Lyme Regis, laborer 4
3612387 1871502 1871502 defendant Crosse Alexander tucker 588633 588633 Crosse, Alexander, of Lyme Regis, tucker 5
3612388 1871502 1871502 defendant Fosshen John barber 588633 588633 Fosshen, John, of Lyme Regis, barber 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.899ms