home / cp40x

names

6 rows where case_id = 2392973

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5122381 2392973 2392973 plaintiff Vane John   589034 589034 Vane, John, of Tunbrygge 0
5122382 2392973 2392973 defendant Wade John husbandman 775389 775389 Wade, John, of Reynham, Essex, husbandman 0
5122383 2392973 2392973 defendant Broker John laborer 848952 848952 Broker, John, of Byttenergh, laborer 1
5122384 2392973 2392973 defendant Pette Robert butcher 589001 589001 Pette, Robert, of Maydeston, butcher 2
5122385 2392973 2392973 defendant Pette John husbandman 586293 586293 Pette, John, of Dagenham, Essex, husbandman 3
5122386 2392973 2392973 defendant Sperwe Gilbert husbandman 848953 848953 Sperwe, Gilbert, of Dagnham, 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 15.957ms