home / cp40x

names

10 rows where case_id = 2243996

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4642757 2243996 2243996 plaintiff Hertyngton Richard     Hertyngton, Richard 0
4642758 2243996 2243996 plaintiff Neweton Robert     Neweton, Robert 1
4642759 2243996 2243996 defendant Sayer William   585990 585990 Sayer, William, of Banbury, Oxon 0
4642760 2243996 2243996 defendant Abbotley John     Abbotley, John 1
4642761 2243996 2243996 defendant Barker John   777238 777238 Barker, John, of Kenford, Suffolk 2
4642762 2243996 2243996 defendant Staunton John   608698 608698 Staunton, John, of Faversham, Kent 3
4642763 2243996 2243996 defendant Webbe William   753167 753167 Webbe, William, of Middlesex 4
4642764 2243996 2243996 defendant Caudelan Thomas   757195 757195 Caudelan, Thomas, of Northamptonshire 5
4642765 2243996 2243996 defendant Bryd Alexander (legal representative)   Bryd, Alexander, executrix of 6
4642766 2243996 2243996 defendant Bryd Christine     Bryd, Christine 7

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