home / cp40x

names

6 rows where case_id = 2366343

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5032358 2366343 2366343 plaintiff Sabyn Simon     Sabyn, Simon 0
5032359 2366343 2366343 defendant Tomas Richard tailor 589001 589001 Tomas, Richard, of Maydeston, tailor 0
5032360 2366343 2366343 defendant Bedell Thomas laborer 589001 589001 Bedell, Thomas, of Maydeston, laborer 1
5032361 2366343 2366343 defendant Pollard John   602287 602287 Pollard, John, of Berstede, mason 2
5032362 2366343 2366343 defendant Colyns William laborer 602287 602287 Colyns, William, of Berstede, laborer 3
5032363 2366343 2366343 defendant Colyn Johon shoemaker 589001 589001 Colyn, Johon, of Maydeston, shoemaker 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 14.785ms