home / cp40x

names

6 rows where case_id = 2224877

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4578882 2224877 2224877 plaintiff Colbrook Robert ironmonger 585869 585869 Colbrook, Robert, of London, ironmonger 0
4578883 2224877 2224877 defendant Alman John smith 771496 771496 Alman, John, of Ongre, Essex, smith 0
4578884 2224877 2224877 defendant Smyth Robert   771497 771497 Smyth, Robert, of Cane Ende, Berks 1
4578885 2224877 2224877 defendant Weylete John   608829 608829 Weylete, John, of Essex 2
4578886 2224877 2224877 defendant Pecke Robert   591728 591728 Pecke, Robert, of Sandwich 3
4578887 2224877 2224877 defendant Bounde Thomas   605288 605288 Bounde, Thomas, of Maidstone 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.008ms