home / cp40x

names

7 rows where case_id = 2265000

✎ 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
4698470 2265000 2265000 plaintiff Curteys John     Curteys, John 0
4698471 2265000 2265000 defendant Millere Thomas husbandman 738624 738624 Millere, Thomas, of Ickworth, husbandman 0
4698472 2265000 2265000 defendant Beele William yeoman 598146 598146 Beele, William, of Ixnyng, yeoman 1
4698473 2265000 2265000 defendant Mundes James merchant 586180 586180 Mundes, James, of Bury St Edmunds, merchant 2
4698474 2265000 2265000 defendant Heigham John yeoman 592388 592388 Heigham, John, of Newemarket, yeoman 3
4698475 2265000 2265000 defendant Helmeth Peter yeoman 592820 592820 Helmeth, Peter, of Dunwich, yeoman 4
4698476 2265000 2265000 defendant Brodok John smith 786630 786630 Brodok, John, of Chetilbere, smith 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.742ms