home / cp40x

names

7 rows where case_id = 2283053

✎ 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
4758548 2283053 2283053 plaintiff Camberton Christopher de     Camberton, Christopher de 0
4758549 2283053 2283053 defendant Raper John husbandman 797872 797872 Raper, John, of Katerlen or Catterlen, husbandman 0
4758550 2283053 2283053 defendant Wilkynson John husbandman 598688 598688 Wilkynson, John, of Unthank, husbandman 1
4758551 2283053 2283053 defendant Gill Adam husbandman 647498 647498 Gill, Adam, of Deen, husbandman 2
4758552 2283053 2283053 defendant Smyth John smith 590152 590152 Smyth, John, of Clyfton, smith 3
4758553 2283053 2283053 defendant Dobson John   786261 786261 Dobson, John, of Penrith, Cumberland 4
4758554 2283053 2283053 defendant Garth John   654047 654047 Garth, John, of Penrith, shepherd 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 16.221ms