home / cp40x

names

6 rows where case_id = 1867651

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3599990 1867651 1867651 plaintiff Welles James draper 585869 585869 Welles, James, of London, draper 0
3599991 1867651 1867651 defendant Whatman John weaver 590124 590124 Whatman, John, of Hankarst, weaver, son of Whatman, Lawrence, of Hankarst, weaver 0
3599992 1867651 1867651 defendant Hall Robert collier 590125 590125 Hall, Robert, of Est Farley, collier 1
3599993 1867651 1867651 defendant Neubolt John laborer 590126 590126 Neubolt, John, of Maydstone, laborer 2
3599994 1867651 1867651 defendant Combe Thomas husbandman 590127 590127 Combe, Thomas, of Edelmeton, Middx, husbandman 3
3599995 1867651 1867651 defendant Abotre William yeoman 589895 589895 Abotre, William, of Edelmeton, 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 16.345ms