home / cp40x

names

8 rows where case_id = 2313794

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4857716 2313794 2313794 plaintiff Both Richard     Both, Richard 0
4857717 2313794 2313794 defendant Goydeyr William husbandman 813640 813640 Goydeyr, William, of Scoles in Holmefirth, husbandman 0
4857718 2313794 2313794 defendant Walker John husbandman 813640 813640 Walker, John, of Scoles in Holmefirth, husbandman 1
4857719 2313794 2313794 defendant Walker John   813642 813642 Walker, John, of Thurstanland, wright 2
4857720 2313794 2313794 defendant Willyamson Richard nailer 611154 611154 Willyamson, Richard, of Shitlyngton, nailer 3
4857721 2313794 2313794 defendant Willyamson John nailer 611154 611154 Willyamson, John, of Shitlyngton, nailer 4
4857722 2313794 2313794 defendant Woddy John Shitlyngton, nailer   Woddy, John, Shitlyngton, nailer 5
4857723 2313794 2313794 defendant Thomasson John Shitlyngton, nailer   Thomasson, John, Shitlyngton, nailer 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 14.362ms