home / cp40x

names

6 rows where case_id = 2365395

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5029121 2365395 2365395 plaintiff Northwode John     Northwode, John 0
5029122 2365395 2365395 defendant Was Roger husbandman 837065 837065 Was, Roger, of Frogot, husbandman 0
5029123 2365395 2365395 defendant Fryche John husbandman 605404 605404 Fryche, John, of Asshover, husbandman 1
5029124 2365395 2365395 defendant Mere John yeoman 608994 608994 Mere, John, of Monyassh, yeoman 2
5029125 2365395 2365395 defendant Wryght John husbandman 837066 837066 Wryght, John, of Laghton in Mornyng, Yorks, husbandman 3
5029126 2365395 2365395 defendant Alysone John husbandman 783498 783498 Alysone, John, of Ulgarthorp, 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 15.667ms