home / cp40x

names

12 rows where case_id = 2003040

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3937990 2003040 2003040 plaintiff Peryam John     Peryam, John 0
3937991 2003040 2003040 plaintiff Peryam Margaret     Margaret, his wife 1
3937992 2003040 2003040 plaintiff Capelyn Richard     Capelyn, Richard 2
3937993 2003040 2003040 plaintiff Capelyn Elizabeth     Elizabeth, his wife 3
3937994 2003040 2003040 plaintiff Horton John     Horton, John 4
3937995 2003040 2003040 plaintiff Horton Alice     Alice, his wife 5
3937996 2003040 2003040 plaintiff Bodley John     Bodley, John 6
3937997 2003040 2003040 plaintiff Bodley Joan     Joan, his wife 7
3937998 2003040 2003040 plaintiff Upton Geoffrey     Upton, Geoffrey 8
3937999 2003040 2003040 plaintiff Upton Mary     Mary, his wife 9
3938000 2003040 2003040 defendant Gaye John husbandman 655894 655894 Gaye, John, of Pynho, Devon, husbandman 0
3938001 2003040 2003040 defendant Reynoldes James yeoman 609695 609695 Reynoldes, James, of Pynhoo, yeoman 1

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