home / cp40x

names

6 rows where case_id = 2356716

✎ 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
4999474 2356716 2356716 plaintiff Lee Lambert     Lee, Lambert 0
4999475 2356716 2356716 defendant Page John husbandman 600403 600403 Page, John, of Hoghton, husbandman 0
4999476 2356716 2356716 defendant Reyhold William husbandman 772169 772169 Reyhold, William, of Half Naked, husbandman 1
4999477 2356716 2356716 defendant Pyper John husbandman 772169 772169 Pyper, John, of Half Naked, husbandman 2
4999478 2356716 2356716 defendant Sewyn Thomas husbandman 821577 821577 Sewyn, Thomas, of Boxbrave, husbandman 3
4999479 2356716 2356716 defendant Mops Henry miller 772169 772169 Mops. Henry, of Half Naked, miller 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 15.634ms