home / cp40x

names

7 rows where case_id = 2100147

✎ 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
4213230 2100147 2100147 plaintiff Woodcock William     Woodcock, William 0
4213231 2100147 2100147 plaintiff Napton William     Napton, William 1
4213232 2100147 2100147 plaintiff Sewall Thomas     Sewall, Thomas 2
4213233 2100147 2100147 defendant Gryse Thomas innholder 585869 585869 Gryse, Thomas, of London, or of Warrington, Lancs, innholder 0
4213234 2100147 2100147 defendant Ryxton Rand gent 716146 716146 Ryxton, Rand, of Sanky, Lancs, gent 1
4213235 2100147 2100147 defendant Cartwright Richard chandler 679196 679196 Cartwright, Richard, of Warington, chandler 2
4213236 2100147 2100147 defendant Stanynoght William gent 608035 608035 Stanynoght, William, of Lancaster, gent 3

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.475ms