home / cp40x

names

9 rows where case_id = 2498891

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5479535 2498891 2498891 plaintiff Cheyne John esq 605698 605698 Cheyne, John, of Pynne, esq 0
5479536 2498891 2498891 plaintiff Denys John   608223 608223 Denys, John, of Orlegh 1
5479537 2498891 2498891 plaintiff Bykonell John     Bykonell, John 2
5479538 2498891 2498891 plaintiff More John     More, John 3
5479539 2498891 2498891 defendant Hokemore William mercer 593031 593031 Hokemore, William, of Magna Totnes, mercer 0
5479540 2498891 2498891 defendant Huchyn John merchant 587162 587162 Huchyn, John, of Ermyngton, merchant 1
5479541 2498891 2498891 defendant Cosby Walter mercer 593031 593031 Cosby, Walter, of Magna Totnes, mercer 2
5479542 2498891 2498891 defendant Lamborne John yeoman 593031 593031 Lamborne, John, of Magna Totnes, yeoman 3
5479543 2498891 2498891 defendant Drewe Henry yeoman 838765 838765 together with Drewe, Henry, of Sherpham, yeoman 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 21.448ms