home / cp40x

names

10 rows where case_id = 2037884

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4036920 2037884 2037884 plaintiff James Humphrey     James, Humphrey 0
4036921 2037884 2037884 defendant Jewk Edward gent 585869 585869 Jewk, Edward, of London, gent 0
4036922 2037884 2037884 defendant Baker Roger draper 586697 586697 Baker, Roger, of Shrewsbury, draper 1
4036923 2037884 2037884 defendant Spencer Joan widow 642430 642430 Spencer, Joan, of Abbey Foryat, widow 2
4036924 2037884 2037884 defendant Carter George husbandman 642430 642430 Carter, George, of Abbey Foryat, husbandman 3
4036925 2037884 2037884 defendant Rooke Richard glover 642430 642430 Rooke, Richard, of Abbey Foryat, glover 4
4036926 2037884 2037884 defendant Lee Thomas, senior weaver 642430 642430 Lee, Thomas, senior, of Abbey Foryat, weaver 5
4036927 2037884 2037884 defendant Lee Thomas, junior weaver 642430 642430 Lee, Thomas, junior, of Abbey Foryat, weaver 6
4036928 2037884 2037884 defendant Hawk Edward shoemaker 642430 642430 Hawk, Edward, of Abbey Foryat, shoemaker 7
4036929 2037884 2037884 defendant Woodhall Thomas glover 642430 642430 Woodhall, Thomas, of Abbey Foryat, glover 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 12.907ms