home / cp40x

names

6 rows where case_id = 1924017

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3693007 1924017 1924017 plaintiff Leygh William     Leygh, William 0
3693008 1924017 1924017 defendant Arnenold Christopher husbandman 609178 609178 Arnenold, Christopher, of Wellyngore, husbandman 0
3693009 1924017 1924017 defendant Marten Thomas husbandman 609178 609178 Marten, Thomas, of Wellyngore, husbandman 1
3693010 1924017 1924017 defendant Blesby Thomas husbandman 609178 609178 Blesby, Thomas, of Wellyngore, husbandman 2
3693011 1924017 1924017 defendant Barton William husbandman 609178 609178 Barton, William, of Wellyngore, husbandman 3
3693012 1924017 1924017 defendant Medylbroke John husbandman 609178 609178 Medylbroke, John, of Wellyngore, husbandman 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 7.489ms