home / cp40x

names

6 rows where case_id = 2487615

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5442288 2487615 2487615 plaintiff Bedale John     Bedale, John 0
5442289 2487615 2487615 defendant Beytes Robert yeoman 586818 586818 Beytes, Robert, of Stowemarket, yeoman 0
5442290 2487615 2487615 defendant Dereham John husbandman 887937 887937 Dereham, John, of Shel_, husbandman 1
5442291 2487615 2487615 defendant Bolle John yeoman 771659 771659 Bolle, John, of Gislyngham, yeoman 2
5442292 2487615 2487615 defendant Wodward John barber 852739 852739 Wodward, John, of B_, barber 3
5442293 2487615 2487615 defendant Cobbe John   881640 881640 Cobbe, John, of Bury St Edmunds. Butcher 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 6.321ms