home / cp40x

names

7 rows where case_id = 2450226

✎ 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
5317200 2450226 2450226 plaintiff Eyre Roger gent   Eyre, Roger, gent 0
5317201 2450226 2450226 defendant Sharp Richard husbandman 872646 872646 Sharp, Richard, of Southorom, Yorks, husbandman 0
5317202 2450226 2450226 defendant Lytton John mercer 604645 604645 Lytton, John, of Tyddeswall, mercer 1
5317203 2450226 2450226 defendant Barton John husbandman 596407 596407 Barton, John, of Litton, husbandman 2
5317204 2450226 2450226 defendant Bukley Geoffrey (legal representative) 872647 872647 Bukley, Geoffrey, of South Orom, executors of 3
5317205 2450226 2450226 defendant Bukley Margaret widow   (Bukley, Margaret, widow 4
5317206 2450226 2450226 defendant Bukley Thomas weaver 872647 872647 Bukley, Thomas, of South Orom, weaver 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.829ms