home / cp40x

names

5 rows where place_id = 662217

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3964133 2012063 2012063 plaintiff ap Parry Richard gent 662217 662217 ap Parry, Richard, of Treloughe, gent 0
3964135 2012064 2012064 plaintiff ap Parry Richard gent 662217 662217 ap Parry, Richard, of Treloughe, gent 0
3965362 2012501 2012501 defendant Morrys David cordwainer 662217 662217 Morrys, David, of Treloughe, cordwainer 1
3982509 2018521 2018521 defendant ap Parry Richard gent 662217 662217 ap Parry, Richard, of Treloughe, gent 0
3982524 2018524 2018524 defendant ap Parry Richard gent 662217 662217 ap Parry, Richard, of Treloughe, gent 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 5.664ms