home / cp40x

names

6 rows where case_id = 1871846

✎ 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
3613423 1871846 1871846 plaintiff Barbour John rector of Houghton juxta Pykenham   Barbour, John, rector of Houghton juxta Pykenham 0
3613424 1871846 1871846 defendant Mandolf Robert husbandman 590542 590542 Mandolf, Robert, of Fouldon, husbandman 0
3613425 1871846 1871846 defendant Chapman Henry husbandman 593812 593812 Chapman, Henry, of Sholdham, husbandman 1
3613426 1871846 1871846 defendant Bonde Robert cooper 586523 586523 Bonde, Robert, of Cley juxta Mare, cooper 2
3613427 1871846 1871846 defendant Cage Roger husbandman 593813 593813 Cage, Roger, of Est Bredenham, husbandman 3
3613428 1871846 1871846 defendant Ramme Edward husbandman 593814 593814 Ramme, Edward, of Sporle, 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 18.581ms