home / cp40x

names

5 rows where place_id = 792876

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4732140 2275236 2275236 defendant Hikkis Robert husbandman 792876 792876 Hikkis, Robert, of Lee, Gloucs, husbandman 0
5380514 2469476 2469476 defendant Dygas Thomas gent 792876 792876 Dygas, Thomas, of Lee, Gloucs, gent 3
5405221 2476579 2476579 defendant Dufford Thomas carpenter 792876 792876 Dufford, Thomas, of Lee, Gloucs, carpenter 0
5418303 2480401 2480401 defendant Bufford Thomas carpenter 792876 792876 Bufford, Thomas, of Lee, Gloucs, carpenter 0
5436182 2485760 2485760 defendant Bufford Thomas carpenter 792876 792876 Bufford, Thomas, of Lee, Gloucs, carpenter 0

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 12.961ms