home / cp40x

names

7 rows where case_id = 2396399

✎ 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
5133864 2396399 2396399 plaintiff Kent John clerk   Kent, John, clerk 0
5133865 2396399 2396399 plaintiff Marshall John     Marshall, John 1
5133866 2396399 2396399 defendant Forster Alice   850867 850867 Forster, Alice, of Barnby on Dune, servant 0
5133867 2396399 2396399 defendant Diconson Katherin   850866 850866 Diconson, Katherin, of Barnby upon Don, servant 1
5133868 2396399 2396399 defendant Whappelode John husbandman 850867 850867 Whappelode, John, of Barnby on Dune, husbandman 2
5133869 2396399 2396399 defendant Mossedale William   850868 850868 Mossedale, William, of Barnby on Dune, lepear 3
5133870 2396399 2396399 defendant Smyth William husbandman 607058 607058 Smyth, William, of Kirk Sandall, 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 15.244ms