home / cp40x

names

8 rows where case_id = 2429694

✎ 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
5248524 2429694 2429694 plaintiff Suthwell John clerk   Suthwell, John, clerk 0
5248525 2429694 2429694 plaintiff Spyrlyng Geoffrey     Spyrlyng, Geoffrey 1
5248526 2429694 2429694 defendant Roudyard Richard husbandman 592863 592863 Roudyard, Richard, of Magna Snoryng, husbandman 0
5248527 2429694 2429694 defendant Sperhauk John husbandman 592863 592863 Sperhauk, John, of Magna Snoryng, husbandman 1
5248528 2429694 2429694 defendant Ryckys John husbandman 592863 592863 Ryckys, John, of Magna Snoryng, husbandman 2
5248529 2429694 2429694 defendant Wroo Thomas husbandman 602980 602980 Wroo, Thomas, of Thorplond, husbandman 3
5248530 2429694 2429694 defendant Harpour John husbandman 602980 602980 Harpour, John, of Thorplond, husbandman 4
5248531 2429694 2429694 defendant Bougatte John husbandman 602980 602980 Bougatte, John, of Thorplond, husbandman 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 14.274ms