home / cp40x

names

6 rows where case_id = 2425294

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5233187 2425294 2425294 plaintiff Cartmell John clerk   Cartmell, John, clerk 0
5233188 2425294 2425294 defendant Duram Richard yeoman 862255 862255 Duram, Richard, of Studowe juxta Midelham, yeoman 0
5233189 2425294 2425294 defendant Duram John yeoman 828073 828073 Duram, John, of Patryk Brompton, yeoman 1
5233190 2425294 2425294 defendant Johnson John chaplain 828073 828073 Johnson, John, of Patryk Brompton, chaplain 2
5233191 2425294 2425294 defendant Couper John yeoman 758573 758573 Couper, John, of Crakall, yeoman 3
5233192 2425294 2425294 defendant Cartmell Thomas, junior yeoman 828073 828073 Cartmell, Thomas, junior, of Patryk Brompton, yeoman 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 17.877ms