home / cp40x

names

6 rows where place_id = 633326

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3812055 1961680 1961680 defendant Turnour Baldwin tanner 633326 633326 Turnour, Baldwin, of Cholmelegh, tanner 0
4657166 2248127 2248127 defendant Northemylle John ploughman 633326 633326 Northemylle, John, of Cholmelegh, ploughman 0
4657167 2248127 2248127 defendant Clerke Walter husbandman 633326 633326 Clerke, Walter, of Cholmelegh, husbandman 1
4657168 2248127 2248127 defendant Shetesbere John husbandman 633326 633326 Shetesbere, John, of Cholmelegh, husbandman 2
5335337 2455639 2455639 defendant Mershford John laborer 633326 633326 Mershford, John, of Cholmelegh, laborer 1
5545004 2518544 2518544 defendant Willesdon William   633326 633326 Willesdon, William, of Cholmelegh, franklin 0

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.607ms