home / cp40x

names

6 rows where case_id = 2391632

✎ 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
5117771 2391632 2391632 plaintiff Pumpy Richard vicar of Clare   Pumpy, Richard, vicar of Clare 0
5117772 2391632 2391632 defendant Clerk Robert   629399 629399 Clerk, Robert, of Couston, clerk, son of Clerk, Simon, of Stanton All Saints 0
5117773 2391632 2391632 defendant Aleyn William chaplain 848409 848409 Aleyn, William, of Magna Berdfeld, Essex, chaplain 1
5117774 2391632 2391632 defendant Barbour William clerk 594515 594515 Barbour, William, of Stradeshull, clerk 2
5117775 2391632 2391632 defendant Clerk Simon (legal representative) 590292 590292 Clerk, Simon, of Stanton All Saints, husbandman, executor of 3
5117776 2391632 2391632 defendant Clerk Thomas husbandman 590292 590292 Clerk, Thomas, of Stanton All Saints, husbandman 4

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