home / cp40x

names

6 rows where case_id = 2380345

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5079437 2380345 2380345 plaintiff Camvyle John mercer 585869 585869 Camvyle, John, of London, mercer 0
5079438 2380345 2380345 defendant Okyll Richard ostler 843911 843911 Okyll, Richard, of Stebynhasshe, Herts, ostler 0
5079439 2380345 2380345 defendant Ryngeley Thomas dyer 586117 586117 Ryngeley, Thomas, of Coventry, dyer 1
5079440 2380345 2380345 defendant Lenyng or Levyng Nicholas gent 609253 609253 Lenyng or Levyng, Nicholas, of Maydenhith, Berks, gent 2
5079441 2380345 2380345 defendant Moskeler John clothman 735331 735331 Moskeler, John, of Boxford, Essex, clothman 3
5079442 2380345 2380345 defendant Hurley John mercer 586152 586152 Hurley, John, of Warwick, mercer 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 13.575ms