home / cp40x

names

6 rows where case_id = 2435563

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5267373 2435563 2435563 plaintiff Wroxham Richard     Wroxham, Richard 0
5267374 2435563 2435563 defendant Pert William gent 866169 866169 Pert, William, of Alvithlee, gent 0
5267375 2435563 2435563 defendant Denyse or Devyse Thomas   591871 591871 Denyse or Devyse, Thomas, of Berlyng, wool packer 1
5267376 2435563 2435563 defendant Pacche John husbandman 587945 587945 Pacche, John, of Dagenham, husbandman 2
5267377 2435563 2435563 defendant Smyth Thomas yeoman 866169 866169 Smyth, Thomas, of Alvithlee, yeoman 3
5267378 2435563 2435563 defendant Elston Richard butcher 587945 587945 Elston, Richard, of Dagenham, butcher 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 16.876ms