home / cp40x

names

7 rows where case_id = 2324518

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4892923 2324518 2324518 plaintiff Styward John   771827 771827 Styward, John, of Wodhull 0
4892924 2324518 2324518 defendant Warde John husbandman 761066 761066 Warde, John, of Suldrope, husbandman 0
4892925 2324518 2324518 defendant Barbour William barber 771827 771827 Barbour, William, of Wodhull, barber 1
4892926 2324518 2324518 defendant Wryght William husbandman 598318 598318 Wryght, William, of Chelyngton, husbandman 2
4892927 2324518 2324518 defendant Luffe Simon husbandman 787092 787092 Luffe, Simon, of Branfeld, Bucks, husbandman 3
4892928 2324518 2324518 defendant Andevere John miller 782923 782923 Andevere, John, of Berkhampstede, Herts, miller 4
4892929 2324518 2324518 defendant Bynde John miller 757927 757927 Bynde, John, of Berkhampstede, miller 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 17.26ms