home / cp40x

names

7 rows where case_id = 2509968

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5516420 2509968 2509968 plaintiff Swyft John     Swyft, John 0
5516421 2509968 2509968 defendant Yorkshyre John butcher 586568 586568 Yorkshyre, John, of Rotherham, butcher 0
5516422 2509968 2509968 defendant Wade John laborer 586568 586568 Wade, John, of Rotherham, laborer 1
5516423 2509968 2509968 defendant Odeston John shoemaker 586568 586568 Odeston, John, of Rotherham, shoemaker 2
5516424 2509968 2509968 defendant Tayllour John husbandman 771134 771134 Tayllour, John, of Thropon, husbandman 3
5516425 2509968 2509968 defendant Matley alias Dyker James laborer 618952 618952 Matley alias Dyker, James, of Dodworth, laborer 4
5516426 2509968 2509968 defendant Waterhall Robert slater 618952 618952 Waterhall, Robert, of Dodworth, slater 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 18.22ms