home / cp40x

names

6 rows where case_id = 2364311

✎ 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
5025352 2364311 2364311 plaintiff Johnson William     Johnson, William 0
5025353 2364311 2364311 defendant Lytster John husbandman 836632 836632 Lytster, John, of Chaterys, Cams, husbandman 0
5025354 2364311 2364311 defendant Mylner Walter husbandman 836633 836633 Mylner, Walter, of Warmyngton juxta Aylton, Hunts, husbandman 1
5025355 2364311 2364311 defendant Danyell Walter waterman 836634 836634 Danyell, Walter, of Hupwell, waterman 2
5025356 2364311 2364311 defendant Thomas of Peterborough Nhants, mason   Thomas, of Peterborough, Nhants, mason 3
5025357 2364311 2364311 defendant Colyn John husbandman 602392 602392 Colyn, John, of Helgey, husbandman 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 6.633ms