home / cp40x

names

8 rows where case_id = 2260107

✎ 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
4682368 2260107 2260107 plaintiff Neville Ralph   783474 783474 Neville, Ralph, of Westmorland, Earl 0
4682369 2260107 2260107 defendant Payne John husbandman 606695 606695 Payne, John, of Donyngton in Holand, husbandman 0
4682370 2260107 2260107 defendant Daweson Thomas husbandman 587074 587074 Daweson, Thomas, of Donyngton, husbandman 1
4682371 2260107 2260107 defendant Daweson William husbandman 587074 587074 Daweson, William, of Donyngton, husbandman 2
4682372 2260107 2260107 defendant Smyth John husbandman 594818 594818 Smyth, John, of Byker, husbandman 3
4682373 2260107 2260107 defendant Smyth Thomas husbandman 587074 587074 Smyth, Thomas, of Donyngton, husbandman 4
4682374 2260107 2260107 defendant Benet Stephen husbandman 587074 587074 Benet, Stephen, of Donyngton, husbandman 5
4682375 2260107 2260107 defendant Tache John de, of Donyngton, husbandman   Tache, John, de, of Donyngton, 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 6.115ms