home / cp40x

names

6 rows where case_id = 2045701

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4059243 2045701 2045701 plaintiff Collynson George     Collynson, George 0
4059244 2045701 2045701 defendant Pole Richard husbandman 586386 586386 Pole, Richard, of Weston, husbandman 0
4059245 2045701 2045701 defendant Guybon Francis gent 684659 684659 Guybon, Francis, of Stursson, gent 1
4059246 2045701 2045701 defendant Durraunt Thomas husbandman 589874 589874 Durraunt, Thomas, of Claxton, husbandman 2
4059247 2045701 2045701 defendant Holden John clerk 663930 663930 Holden, John, of Rocklond, clerk 3
4059248 2045701 2045701 defendant Folsham Thomas cordwainer 586365 586365 Folsham, Thomas, of Wymondham, cordwainer 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 16.566ms