home / cp40x

names

6 rows where case_id = 2506261

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5504302 2506261 2506261 plaintiff Andrewe Edmund     Andrewe, Edmund 0
5504303 2506261 2506261 defendant Sekker Thomas weaver 586180 586180 Sekker, Thomas, of Bury St Edmunds, weaver 0
5504304 2506261 2506261 defendant Banyard John carpenter 586180 586180 Banyard, John, of Bury St Edmunds, carpenter 1
5504305 2506261 2506261 defendant Gresham Edward yeoman 587759 587759 Gresham, Edward, of Nedeham, yeoman 2
5504306 2506261 2506261 defendant Hayre Nicholas husbandman 586361 586361 Hayre, Nicholas, of Harleston, husbandman 3
5504307 2506261 2506261 defendant Broun Thomas painter 596344 596344 Broun, Thomas, of Stoke juxta Neylond, painter 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 11.727ms