home / cp40x

names

9 rows where case_id = 2475101

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5400074 2475101 2475101 plaintiff fitz James Richard clerk   fitz James, Richard, clerk 0
5400075 2475101 2475101 plaintiff Sutton Henry clerk   Sutton, Henry, clerk 1
5400076 2475101 2475101 plaintiff fiitz James John, senior     fiitz James, John, senior 2
5400077 2475101 2475101 plaintiff Sparewell John     Sparewell, John 3
5400078 2475101 2475101 plaintiff Aschley William     Aschley, William 4
5400079 2475101 2475101 defendant Combe Walter husbandman 857508 857508 Combe, Walter, of East Lulleworth, husbandman 0
5400080 2475101 2475101 defendant Mantyll of Mautyll Edward husbandman 615087 615087 Mantyll of Mautyll, Edward, of Lulleworth, husbandman 1
5400081 2475101 2475101 defendant Raules John husbandman 908418 908418 Raules John, of East Lulleworthe, husbandman 2
5400082 2475101 2475101 defendant Rondell John husbandman 698738 698738 Rondell, John, of East Lulworth, husbandman 3

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