home / cp40x

names

6 rows where case_id = 2425689

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5234536 2425689 2425689 plaintiff Courteney Elizabeth     Courteney, Elizabeth 0
5234537 2425689 2425689 defendant Saltern William gent 592383 592383 Saltern, William, of Dowelond, gent 0
5234538 2425689 2425689 defendant Fanell John, senior husbandman 862411 862411 Fanell, John, senior, of Southteyng, husbandman 1
5234539 2425689 2425689 defendant Fanell John, junior husbandman 862411 862411 Fanell, John, junior, of Southteyng, husbandman 2
5234540 2425689 2425689 defendant Fanell Stephen   862411 862411 Fanell, Stephen, of Southteyng, groom 3
5234541 2425689 2425689 defendant Fanell Thomas tailor 597587 597587 Fanell, Thomas, of Chagford, tailor 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 6.189ms