home / cp40x

names

6 rows where case_id = 2312281

✎ 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
4852746 2312281 2312281 plaintiff West Richard   596940 596940 West, Richard, of Newall 0
4852747 2312281 2312281 defendant Marchall John smith 586573 586573 Marchall, John, of Barnesley, smith 0
4852748 2312281 2312281 defendant Bakehous John husbandman 586573 586573 Bakehous, John, of Barnesley, husbandman 1
4852749 2312281 2312281 defendant Richedale John husbandman 812897 812897 Richedale, John, of Keresford, husbandman 2
4852750 2312281 2312281 defendant Whitakyre John husbandman 812898 812898 Whitakyre, John, of Thurgurland, husbandman 3
4852751 2312281 2312281 defendant Whitehede Richard husbandman 585895 585895 Whitehede, Richard, of Mekesburgh, 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 17.529ms