home / cp40x

names

8 rows where case_id = 2017249

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3979010 2017249 2017249 plaintiff Moyle Thomas gent   Moyle, Thomas, gent 0
3979011 2017249 2017249 defendant Stevens Thomas husbandman 665729 665729 Stevens, Thomas, of Dunstewe, Oxon, husbandman 0
3979012 2017249 2017249 defendant Kendall William gent 594302 594302 Kendall, William, of North Aston, Oxon, gent 1
3979013 2017249 2017249 defendant Kynge William husbandman 600294 600294 Kynge, William, of Dunstewe, husbandman 2
3979014 2017249 2017249 defendant Haynes John husbandman 600294 600294 Haynes, John, of Dunstewe, husbandman 3
3979015 2017249 2017249 defendant Gollowaye George husbandman 600294 600294 Gollowaye, George, of Dunstewe, husbandman 4
3979016 2017249 2017249 defendant Payne Robert husbandman 600294 600294 Payne, Robert, of Dunstewe, husbandman 5
3979017 2017249 2017249 defendant Sawle John husbandman 600294 600294 Sawle, John, of Dunstewe, husbandman 6

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.714ms