home / cp40x

names

8 rows where case_id = 2408428

✎ 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
5175157 2408428 2408428 plaintiff Siwrm William     Siwrm, William 0
5175158 2408428 2408428 defendant Cheyne William gent 591973 591973 Cheyne, William, of Warbylton, gent 0
5175159 2408428 2408428 defendant Wellys John husbandman 586130 586130 Wellys, John, of Hoo, husbandman 1
5175160 2408428 2408428 defendant Ingram Richard husbandman 586130 586130 Ingram, Richard, of Hoo, husbandman 2
5175161 2408428 2408428 defendant Parker John husbandman 586130 586130 Parker, John, of Hoo, husbandman 3
5175162 2408428 2408428 defendant Kneller John husbandman 606580 606580 Kneller, John, of Bexhill, husbandman 4
5175163 2408428 2408428 defendant Kyng Robert husbandman 606580 606580 Kyng, Robert, of Bexhill, husbandman 5
5175164 2408428 2408428 defendant Kneller John husbandman 586130 586130 Kneller, John, of Hoo, husbandman 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 17.195ms