home / cp40x

names

6 rows where case_id = 2360244

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5011549 2360244 2360244 plaintiff Wode John (legal representative) 585869 585869 Wode, John, of London, grocer, executors of 0
5011550 2360244 2360244 plaintiff Burgeyne Thomas gent 585869 585869 (Burgeyne, Thomas, of London, gent 1
5011551 2360244 2360244 plaintiff Gayton Robert grocer 585869 585869 Gayton, Robert, of London, grocer 2
5011552 2360244 2360244 defendant Skotte Edmund chapman 605348 605348 Skotte, Edmund, of Tewkesbury, Gloucs, chapman 0
5011553 2360244 2360244 defendant Leche Oliver dyer 594634 594634 Leche, Oliver, of Shirburn, Dorset, dyer 1
5011554 2360244 2360244 defendant Dorset John chapman 595018 595018 Dorset, John, of Lye, Soms, chapman 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 12.524ms