home / cp40x

names

6 rows where case_id = 2257673

✎ 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
4674628 2257673 2257673 plaintiff Edward William salter 585869 585869 Edward, William, of London, salter, on his own account 0
4674629 2257673 2257673 defendant Godefray John piper 781843 781843 Godefray, John, of Codyngton, Bucks, piper 0
4674630 2257673 2257673 defendant G---- John woolman 618807 618807 G----, John, of Masseworth, Bucks, woolman 1
4674631 2257673 2257673 defendant Bocher Alexander butcher 757801 757801 Bocher, Alexander, of Hanslape, butcher 2
4674632 2257673 2257673 defendant Tanner Hugh tanner 586013 586013 Tanner, Hugh, of Leghton Busard, Beds, tanner 3
4674633 2257673 2257673 defendant Seman Richard husbandman 781844 781844 Seman, Richard, of Horsethe, Essex, husbandman 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 14.461ms