home / cp40x

names

6 rows where place_id = 832686

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4997637 2356148 2356148 plaintiff Hole Thomas   832686 832686 Hole, Thomas, of Doketon 0
4997638 2356148 2356148 plaintiff Hole Nicholas   832686 832686 Hole, Nicholas, of Doketon 1
5134989 2396732 2396732 defendant Hendry John husbandman 832686 832686 Hendry, John, of Doketon, husbandman 3
5155095 2402639 2402639 defendant Hendry John husbandman 832686 832686 Hendry, John, of Doketon, husbandman 3
5171837 2407480 2407480 defendant Hendry John husbandman 832686 832686 Hendry, John, of Doketon, husbandman 3
5241801 2427803 2427803 defendant Hendry John husbandman 832686 832686 Hendry, John, of Doketon, 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 11.831ms