home / cp40x

names

6 rows where case_id = 2343201

✎ 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
4954122 2343201 2343201 plaintiff Spicer Richard     Spicer, Richard 0
4954123 2343201 2343201 defendant Bedull William butcher 586117 586117 Bedull, William, of Coventry, butcher 0
4954124 2343201 2343201 defendant Kyssot John husbandman 633389 633389 Kyssot, John, of Frankton, husbandman 1
4954125 2343201 2343201 defendant Barker Thomas husbandman 633389 633389 Barker, Thomas, of Frankton, husbandman 2
4954126 2343201 2343201 defendant Bird Roger husbandman 594253 594253 Bird, Roger, of Southam, husbandman 3
4954127 2343201 2343201 defendant Shukborogh William husbandman 826850 826850 Shukborogh, William, of Kytherdwyk, 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 13.104ms