home / cp40x

names

7 rows where case_id = 1907585

✎ 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
3640856 1907585 1907585 plaintiff Bailly John     Bailly, John 0
3640857 1907585 1907585 defendant Fraunces Thomas yeoman 591502 591502 Fraunces, Thomas, of Tedbury, Glos, yeoman 0
3640858 1907585 1907585 defendant Jelys William yeoman 600391 600391 Jelys, William, of Alleston, Beds, yeoman 1
3640859 1907585 1907585 defendant London John husbandman 600392 600392 London, John, of Sherborne, Dorset, husbandman 2
3640860 1907585 1907585 defendant Henybrewe Hugh husbandman 600393 600393 Henybrewe, Hugh, of Sherburne, husbandman 3
3640861 1907585 1907585 defendant Savage John husbandman 600394 600394 Savage, John, of Tedbury, husbandman 4
3640862 1907585 1907585 defendant Nicholas of Whaplond Lincs, husbandman   Nicholas, of Whaplond, Lincs, 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 18.309ms