home / cp40x

names

7 rows where case_id = 2437121

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5272797 2437121 2437121 plaintiff Legh Gilbert     Legh, Gilbert 0
5272798 2437121 2437121 defendant Nelsthorp Richard husbandman 867026 867026 Nelsthorp, Richard, of Brette near Ferybrigge, husbandman 0
5272799 2437121 2437121 defendant Gylys John, junior husbandman 867027 867027 Gylys, John, junior, of Mylford by Shirburn in Elmete, husbandman 1
5272800 2437121 2437121 defendant Holme William husbandman 867028 867028 Holme, William, of Bretton by Ferybrigge, husbandman 2
5272801 2437121 2437121 defendant Olred Robert husbandman 635909 635909 Olred, Robert, of Bretton, husbandman 3
5272802 2437121 2437121 defendant Olred Richard husbandman 635909 635909 Olred, Richard, of Bretton, husbandman 4
5272803 2437121 2437121 defendant Ryles Thomas laborer 635909 635909 Ryles, Thomas, of Bretton, laborer 5

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 15.104ms