home / cp40x

names

8 rows where case_id = 2502510

✎ 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
5491978 2502510 2502510 plaintiff Clerk Robert     Clerk, Robert 0
5491979 2502510 2502510 defendant Knyght Thomas husbandman 768309 768309 Knyght, Thomas, of Blaunkeney, husbandman 0
5491980 2502510 2502510 defendant Broun Christopher husbandman 587935 587935 Broun, Christopher, of Colby, husbandman 1
5491981 2502510 2502510 defendant Salaman John husbandman 755602 755602 Salaman, John, of Wadyngton, husbandman 2
5491982 2502510 2502510 defendant Crosby John husbandman 869625 869625 Crosby, John, of Screleby, husbandman 3
5491983 2502510 2502510 defendant Wright John husbandman 586846 586846 Wright, John, of Lincoln, husbandman 4
5491984 2502510 2502510 defendant Bradley William (legal representative) 586846 586846 Bradley, William, of Lincoln, paten maker, executors of 5
5491985 2502510 2502510 defendant Inkersell Thomas   586846 586846 (Inkersell, Thomas, of Lincoln, paten maker 6

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 12.23ms