home / cp40x

names

11 rows where case_id = 2246142

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4650407 2246142 2246142 plaintiff Wilton John de   586070 586070 Wilton, John de, of Beverley 0
4650408 2246142 2246142 defendant St Quintin Anthony de     St Quintin, Anthony de 0
4650409 2246142 2246142 defendant Billarclyf William   651195 651195 Billarclyf, William, of Scardburgh 1
4650410 2246142 2246142 defendant Castell John clerk 651195 651195 Castell, John, of Scardburgh, clerk 2
4650411 2246142 2246142 defendant Brompton John wool man   Brompton, John, wool man 3
4650412 2246142 2246142 defendant Gousill John   619006 619006 Gousill, John, of Beford 4
4650413 2246142 2246142 defendant Lewer William clerk   Lewer, William, clerk 5
4650414 2246142 2246142 defendant Hobne John   587205 587205 Hobne, John, of Grantham 6
4650415 2246142 2246142 defendant Kirkham Richard clerk   Kirkham, Richard, clerk 7
4650416 2246142 2246142 defendant Bolton Hugh de clerk   Bolton, Hugh de, clerk 8
4650417 2246142 2246142 defendant Barton John clerk   Barton, John, clerk 9

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 16.478ms