home / cp40x

names

7 rows where case_id = 2386908

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5101654 2386908 2386908 plaintiff Barbour John butcher 585936 585936 Barbour, John, of Norwich, butcher 0
5101655 2386908 2386908 defendant Gatesende Geoffrey husbandman 590844 590844 Gatesende, Geoffrey, of Lyng, husbandman 0
5101656 2386908 2386908 defendant Roket Roger butcher 586940 586940 Roket, Roger, of Baldeswell, butcher 1
5101657 2386908 2386908 defendant Gogney William laborer 588849 588849 Gogney, William, of North Tudenham, laborer 2
5101658 2386908 2386908 defendant Colman John     Colman, John 3
5101659 2386908 2386908 defendant Smyth Simon husbandman 729321 729321 Smyth, Simon, of Horstede, husbandman 4
5101660 2386908 2386908 defendant Randolf John draper 589180 589180 Randolf, John, of Halesworth, Suff, draper 5

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 15.01ms