home / cp40x

names

6 rows where case_id = 2374802

✎ 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
5060768 2374802 2374802 plaintiff Garald William     Garald, William 0
5060769 2374802 2374802 defendant Haweley John   760686 760686 Haweley, John, of Haveryng atte Boure, tile maker 0
5060770 2374802 2374802 defendant Broune Robert butcher 760686 760686 Broune, Robert, of Haveryng atte Boure, butcher 1
5060771 2374802 2374802 defendant Dutton John butcher 648270 648270 Dutton, John, of Godester, butcher 2
5060772 2374802 2374802 defendant Hatter John husbandman 600786 600786 Hatter, John, of Heton, husbandman 3
5060773 2374802 2374802 defendant Taper Edmund husbandman 760686 760686 Taper, Edmund, of Haveryng atte Boure, husbandman 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.507ms