home / cp40x

names

7 rows where case_id = 2444330

✎ 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
5297686 2444330 2444330 plaintiff Appylby John   586180 586180 Appylby, John, of Bury St Edmunds 0
5297687 2444330 2444330 plaintiff Baret William gent 586180 586180 Baret, William, of Bury St Edmunds, gent 1
5297688 2444330 2444330 plaintiff Baret Emma     Emma, his wife 2
5297689 2444330 2444330 defendant Pegge Robert husbandman 589856 589856 Pegge, Robert, of Pakenham, husbandman 0
5297690 2444330 2444330 defendant Pegge John husbandman 589856 589856 Pegge, John, of Pakenham, husbandman 1
5297691 2444330 2444330 defendant Jole Simon husbandman 870063 870063 Jole, Simon, of Drynkkeston, husbandman 2
5297692 2444330 2444330 defendant Raulyn John husbandman 870064 870064 Raulyn, John, of Great Hornyngesherthe, husbandman 3

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.672ms