home / cp40x

names

7 rows where case_id = 2014304

✎ 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
3970589 2014304 2014304 plaintiff Derne John gent 585936 585936 Derne, John, of Norwich, gent 0
3970590 2014304 2014304 defendant Baker John yeoman 663886 663886 Baker, John, of Hilboroughe, Norf, yeoman 0
3970591 2014304 2014304 defendant Durrant Edward husbandman 663887 663887 Durrant, Edward, of Hilboroughe, husbandman 1
3970592 2014304 2014304 defendant Browne Thomas yeoman 663888 663888 Browne, Thomas, of Magna Wychyngham, Norf, yeoman 2
3970593 2014304 2014304 defendant Baxster William yeoman 594382 594382 Baxster, William, of Snettysham, Norf, yeoman 3
3970594 2014304 2014304 defendant Tryndell Augustine yeoman 600367 600367 Tryndell, Augustine, of Saham Tony, Norf, yeoman 4
3970595 2014304 2014304 defendant Warde John yeoman 663889 663889 Warde, John, of Shellton Halle, Norf, yeoman 5

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.361ms