home / cp40x

names

6 rows where case_id = 2429536

✎ 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
5247934 2429536 2429536 plaintiff Stathum Thomas knight   Stathum, Thomas, knight 0
5247935 2429536 2429536 defendant Mils Roger husbandman 863922 863922 Mils, Roger, of Stony Myddylton, husbandman 0
5247936 2429536 2429536 defendant Stafford Margaret widow 863922 863922 Stafford, Margaret, of Stony Myddylton, widow 1
5247937 2429536 2429536 defendant Mils John clerk 629015 629015 Mils, John, of Eyam, clerk 2
5247938 2429536 2429536 defendant Meverell Thomas yeoman 629015 629015 Meverell, Thomas, of Eyam, yeoman 3
5247939 2429536 2429536 defendant Mils William yeoman 863923 863923 Mils, William, of Brushefelde, yeoman 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 13.222ms