home / cp40x

names

6 rows where case_id = 2432014

✎ 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
5256039 2432014 2432014 plaintiff Dauncy Robert   586312 586312 Dauncy, Robert, of Walden 0
5256040 2432014 2432014 defendant Hulkote Thomas fowler 620542 620542 Hulkote, Thomas, of Baryngton, Cams, fowler 0
5256041 2432014 2432014 defendant Adam William husbandman 595230 595230 Adam, William, of Parva Chesterford, husbandman 1
5256042 2432014 2432014 defendant Adam John, junior husbandman 595230 595230 Adam, John, junior, of Parva Chesterford, husbandman 2
5256043 2432014 2432014 defendant Lynton John husbandman 864882 864882 Lynton, John, of Litelbury, husbandman 3
5256044 2432014 2432014 defendant Thirlowe John husbandman 830341 830341 Thirlowe, John, of Neweton, Cams, 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 15.583ms