home / cp40x

names

7 rows where case_id = 2266628

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4703992 2266628 2266628 plaintiff Hore John   598659 598659 Hore, John, of Havant 0
4703993 2266628 2266628 defendant Harecourt Stephen weaver 586475 586475 Harecourt, Stephen, of Fareham, weaver 0
4703994 2266628 2266628 defendant atte Hacche William husbandman 787706 787706 atte Hacche, William, of Shitfeld, husbandman 1
4703995 2266628 2266628 defendant Bocher Ralph butcher 728551 728551 Bocher, Ralph, of Southwick, butcher 2
4703996 2266628 2266628 defendant Swagge Thomas salter 787707 787707 Swagge, Thomas, of Drayton near Portesdon, salter 3
4703997 2266628 2266628 defendant Calcard John   608030 608030 Calcard, John, of Porchester, minstrel 4
4703998 2266628 2266628 defendant Dyker John tailor 728551 728551 Dyker, John, of Southwick, tailor 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.137ms