home / cp40x

names

7 rows where case_id = 2183877

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4446670 2183877 2183877 plaintiff Deverell Thomas   586859 586859 Deverell, Thomas, of Salisbury 0
4446671 2183877 2183877 defendant Fyges William   757528 757528 Fyges, William, of Bromlee 0
4446672 2183877 2183877 defendant Fyges William   757528 757528 Fyges, William, of Bromlee, junior 1
4446673 2183877 2183877 defendant Mons John butcher 586859 586859 Mons, John, of Salisbury, butcher 2
4446674 2183877 2183877 defendant Mylleward John   606578 606578 Mylleward, John, of Devizes 3
4446675 2183877 2183877 defendant Smyth Robert   757530 757530 Smyth, Robert, of Collyngburn Bocland 4
4446676 2183877 2183877 defendant Skynner John   617092 617092 Skynner, John, of Madyngton 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 18.074ms