home / cp40x

names

6 rows where place_id = 662201

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3964095 2012048 2012048 defendant Gruffith John gent 662201 662201 Gruffith, John, of Molde, Flint, gent 0
3973460 2015287 2015287 defendant ap Luellen William ap David ap Rice gent 662201 662201 ap Luellen, William ap David ap Rice, of Molde, Flint, gent 0
4102500 2061191 2061191 defendant Jones Elias gent 662201 662201 (Jones, Elias, of Molde, Flint, gent 1
4148143 2077482 2077482 defendant ap Ellys Ithell ap Robert gent 662201 662201 ap Ellys, Ithell ap Robert, of Molde, Flint, gent 3
4301298 2130573 2130573 defendant Traver John yeoman 662201 662201 Traver, John, of Molde, Flint, yeoman 0
4402576 2165448 2165448 defendant Parker John, junior gent 662201 662201 Parker, John, junior, of Molde, Flint, 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 14.611ms