home / cp40x

names

7 rows where case_id = 2368066

✎ 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
5038219 2368066 2368066 plaintiff Yon Thomas     Yon, Thomas 0
5038220 2368066 2368066 plaintiff Yon William   587020 587020 Yon, William, of Iseldon 1
5038221 2368066 2368066 defendant Rolf John laborer 810679 810679 Rolf, John, of Est Barnet, laborer 0
5038222 2368066 2368066 defendant Wotton John husbandman 810679 810679 Wotton, John, of Est Barnet, husbandman 1
5038223 2368066 2368066 defendant Sclater William husbandman 586848 586848 Sclater, William, of Northampton, husbandman 2
5038224 2368066 2368066 defendant Wynchecombe Thomas carpenter 585869 585869 Wynchecombe, Thomas, of London, carpenter 3
5038225 2368066 2368066 defendant Ingolf Thomas husbandman 838153 838153 Ingolf, Thomas, of Pekham Ree, Surrey, 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 11.933ms