home / cp40x

names

8 rows where case_id = 2386990

✎ 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
5101940 2386990 2386990 plaintiff Bate John dean of Tamworth College   Bate, John, dean of Tamworth College 0
5101941 2386990 2386990 defendant Fraunceys Robert esq 846550 846550 Fraunceys, Robert, of Formwerk, esq 0
5101942 2386990 2386990 defendant FitzHerberd Nicholas gent 846550 846550 FitzHerberd, Nicholas, of Formwerk, gent 1
5101943 2386990 2386990 defendant FitzHerberd William gent 846550 846550 FitzHerberd, William, of Formwerk, gent 2
5101944 2386990 2386990 defendant Dawes Robert husbandman 846551 846551 Dawes, Robert, of Inggelby, husbandman 3
5101945 2386990 2386990 defendant Dawes Lawrence husbandman 846551 846551 Dawes, Lawrence, of Inggelby, husbandman 4
5101946 2386990 2386990 defendant Laurenceson John, senior husbandman 846551 846551 Laurenceson, John, senior, of Inggelby, husbandman 5
5101947 2386990 2386990 defendant Laurenceson John, junior husbandman 846551 846551 Laurenceson, John, junior, of Inggelby, husbandman 6

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