home / cp40x

names

7 rows where case_id = 1968185

✎ 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
3832791 1968185 1968185 plaintiff Joborn John prior of Shene   Joborn, John, prior of Shene 0
3832792 1968185 1968185 defendant Woden John husbandman 636813 636813 Woden, John, of Belham, husbandman 0
3832793 1968185 1968185 defendant Mannyng Thomas husbandman 636814 636814 Mannyng, Thomas, of Chelham, husbandman 1
3832794 1968185 1968185 defendant Woden Edward husbandman 636814 636814 Woden, Edward, of Chelham, husbandman 2
3832795 1968185 1968185 defendant Lye John husbandman 636814 636814 Lye, John, of Chelham, husbandman 3
3832796 1968185 1968185 defendant Wooden William husbandman 636815 636815 Wooden, William, of CHelham, husbandmanFolantyne, Thomas, of Ferley, husbandman 4
3832797 1968185 1968185 defendant Maye Richard     Maye, Richard 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 15.094ms