home / cp40x

names

6 rows where case_id = 2256837

✎ 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
4671837 2256837 2256837 plaintiff Chawroth Thomas knight   Chawroth, Thomas, knight 0
4671838 2256837 2256837 defendant Newecomen William husbandman 777316 777316 Newecomen, William, of South Thoresby, husbandman 0
4671839 2256837 2256837 defendant Milner John laborer 777316 777316 Milner, John, of South Thoresby, laborer 1
4671840 2256837 2256837 defendant Knot Walter   626909 626909 Knot, Walter, of Calceby, wright 2
4671841 2256837 2256837 defendant Aby Robert husbandman 598489 598489 Aby, Robert, of Aby, husbandman 3
4671842 2256837 2256837 defendant Aby Isabel widow & formerly wife of John de Aby 598489 598489 Aby, Isabel, of Aby, widow & formerly wife of John de Aby 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 13.611ms