home / cp40x

names

6 rows where case_id = 2273845

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4727504 2273845 2273845 plaintiff Heth Henry   780449 780449 Heth, Henry, of Grofham 0
4727505 2273845 2273845 defendant Heyward Richard, sen yeoman 780449 780449 Heyward, Richard, sen, of Grofham, yeoman 0
4727506 2273845 2273845 defendant Russell Thomas husbandman 590798 590798 Russell, Thomas, of Gresham, husbandman 1
4727507 2273845 2273845 defendant Stokton John husbandman 597527 597527 Stokton, John, of Stokton, husbandman 2
4727508 2273845 2273845 defendant Hemery Richard shoemaker 594218 594218 Hemery, Richard, of St Neots, shoemaker 3
4727509 2273845 2273845 defendant Barker William tanner 597412 597412 Barker, William, of Eynesbury, tanner 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 15.71ms