home / cp40x

names

7 rows where case_id = 2000385

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3930017 2000385 2000385 plaintiff Clerke William   585869 585869 Clerke, William, of London, iron monger 0
3930018 2000385 2000385 defendant John of Ewelme Oxon, smith   John, of Ewelme, Oxon, smith 0
3930019 2000385 2000385 defendant Dovyl Ranulph smith 653844 653844 Dovyl, Ranulph, of Hambleden, Bucks, smith 1
3930020 2000385 2000385 defendant Haddon Rcihard   609857 609857 Haddon, Rcihard, of Bucks 2
3930021 2000385 2000385 defendant Rose Ambrose husbandman 653827 653827 Rose, Ambrose, of Wellyng, Bucks, husbandman 3
3930022 2000385 2000385 defendant Pak John yeoman 653824 653824 Pak, John, of Elstede, Surr, yeoman 4
3930023 2000385 2000385 defendant Rugen George yeoman 653825 653825 Rugen, George, of Peper Harow, Surr, 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 14.028ms