home / cp40x

names

6 rows where case_id = 2474626

✎ 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
5398480 2474626 2474626 plaintiff Conyers Richard esq 593062 593062 Conyers, Richard, of South Couton, esq 0
5398481 2474626 2474626 defendant Hoton John yeoman 769616 769616 Hoton, John, of Aldbyland, yeoman 0
5398482 2474626 2474626 defendant Calfe William yeoman 769616 769616 Calfe, William, of Aldbyland, yeoman 1
5398483 2474626 2474626 defendant Duke Thomas husbandman 883098 883098 Duke, Thomas, of South Kilvynton, husbandman 2
5398484 2474626 2474626 defendant Busse William husbandman 753732 753732 Busse, William, of Kereby, husbandman 3
5398485 2474626 2474626 defendant Lambe William husbandman 753732 753732 Lambe, William, of Kereby, 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.613ms