home / cp40x

names

10 rows where case_id = 2201146

✎ 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
4501757 2201146 2201146 plaintiff Lyttelbury John knight   Lyttelbury, John, knight, on his own account 0
4501758 2201146 2201146 defendant Hamond William     Hamond, William 0
4501759 2201146 2201146 defendant Hamond Richard   637005 637005 Hamond, Richard, of Hykham 1
4501760 2201146 2201146 defendant Shirburn William     Shirburn, William 2
4501761 2201146 2201146 defendant Castreton William de   587205 587205 Castreton, William de, of Grantham 3
4501762 2201146 2201146 defendant Skepper Thomas   612120 612120 #Skepper, Thomas, of Sleford 4
4501763 2201146 2201146 defendant atte Well William   589225 589225 atte Well, William, of Kelby 5
4501764 2201146 2201146 defendant Torald John   637005 637005 Torald, John, of Hykham 6
4501765 2201146 2201146 defendant de la Hay John   587205 587205 de la Hay, John, of Grantham 7
4501766 2201146 2201146 defendant Bryse John   599195 599195 Bryse, John, of Asgardby 8

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