home / cp40x

names

8 rows where case_id = 2516218

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5537495 2516218 2516218 plaintiff Covert John     Covert, John 0
5537496 2516218 2516218 defendant Chaloner John yeoman 597280 597280 Chaloner, John, of Lynfeld, yeoman 0
5537497 2516218 2516218 defendant Verall Richard husbandman 597280 597280 Verall, Richard, of Lynfeld, husbandman 1
5537498 2516218 2516218 defendant Payn Robert husbandman 597280 597280 Payn, Robert, of Lynfeld, husbandman 2
5537499 2516218 2516218 defendant Broune John laborer 597280 597280 Broune, John, of Lynfeld, laborer 3
5537500 2516218 2516218 defendant Whedyr John laborer 597280 597280 Whedyr, John, of Lynfeld, laborer 4
5537501 2516218 2516218 defendant Faukener Roger laborer 597280 597280 Faukener, Roger, of Lynfeld, laborer 5
5537502 2516218 2516218 defendant Kyng William laborer 597280 597280 Kyng, William, of Lynfeld, laborer 6

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.059ms