home / cp40x

names

7 rows where case_id = 2490315

✎ 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
5451477 2490315 2490315 plaintiff Sheffeld Robert esq   Sheffeld, Robert, esq 0
5451478 2490315 2490315 defendant Wryght Thomas husbandman 593430 593430 Wryght, Thomas, of Flyxburgh, husbandman 0
5451479 2490315 2490315 defendant Rypley John laborer 593430 593430 Rypley, John, of Flyxburgh, laborer 1
5451480 2490315 2490315 defendant Richard John husbandman 593430 593430 Richard, John, of Flyxburgh, husbandman 2
5451481 2490315 2490315 defendant Davy John husbandman 593430 593430 Davy, John, of Flyxburgh, husbandman 3
5451482 2490315 2490315 defendant Kyrkham John fisher 593430 593430 Kyrkham, John, of Flyxburgh, fisher 4
5451483 2490315 2490315 defendant Dubbyng William   593430 593430 Dubbyng, William, of Flyxburgh 5

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 5.921ms