This repository was archived by the owner on Jun 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Attribute mapping
Molly Graber edited this page Apr 19, 2021
·
28 revisions
- Mapped from
dob_jobapplicationsjobnumber - The DOB job application number assigned when the applicant begins the application. This is the unique identifier for the application submitted to the Department of Buildings (DOB). It may contain several work types, and more work types may be added as the application review and the work continues. It is a 9-digit number where the first digit indicates the borough where the building is located.
- Mapped from
dob_jobapplicationsjobtype.-
A1toAlteration -
DMtoDemolition -
NBtoNew Building
-
- Administrative records are removed based on this field in combination with
job_description. - DOB's type category for the job application. The following types are included in this database:New Building (NB): an application to build a new structure.
-
NBcannot be selected if any existing building elements are to remainβfor example a part of an old foundation, a portion of a faΓ§ade that will be incorporated into the construction, etc. -
Alteration Type I (A1): a major alteration that will change the use, egress, or occupancy of the building. -
Demolition (DM): an application to fully or partially demolish an existing building. Note that many demolition permits are only for partial demolitions and for garages (these are also captured).
-
For more information see https://www1.nyc.gov/site/buildings/homeowner/permits.page.
- Dependent on
hotel_init,hotel_prop,otherb_init,otherb_prop,classa_init, andclassa_prop. - If any of the dependent fields are not NULL then the job is flagged as being residential.
- Dependent on
job_description,occ_initial,occ_proposed, andresid_flag -
nonresid_flagis true if
-
job_descriptionhas one of these keywords OR -
occ_initialorocc_proposedare one of these categories. OR -
resid_flagIS NULL
- Dependent on
date_complete,job_status,date_lastupdt - A job can only be inactive if date_complete is NULL
- A job is set to inactive for:
- All jobs with a status of
9. Withdrawn - Jobs with a status of
Filed Application,Approved Application, ORPermitted for ConstructionANDdate_lastupdtis 3 or more years before the vintage date. - If a job with a status that is
Filed Application,Approved Application, ORPermitted for ConstructionMATCHES with a job that has a status of either4. Partially Completed ConstructionOR5. Completed ConstructionON the following fields:
- classa_init (where units are NOT NULL) AND
- classa_prop (where units are NOT NULL) AND
- address AND
- job_type
AND the
date_lastupdtof the incomplete job is before thedate_lastupdtof the complete job.
- Dependent on on
job_type,co_latest_certtype,classa_complt_pct,classa_complt_diff,classa_net,x_withdrawal, and date fields
- if the withdrawn flag as a value of
W,CTHEN9. Withdrawn - when it's a NB or A1 and the CO is a Temporary CO AND less than 80% of the units are completed for a building with 20 or more - units THEN
4. Partially - Completed Construction -
date_completeIS NOT NULL THEN5. Completed Construction -
date_statusrIS NOT NULL THEN3. Permitted for Construction -
date_permittdIS NOT NULL THEN3. Permitted for Construction -
date_statuspIS NOT NULL THEN2. Approved Application -
assignedIS NOT NULL THEN1. Filed Application -
date_statusdIS NOT NULL THEN1. Filed Application -
paidIS NOT NULL THEN1. Filed Application -
date_filedIS NOT NULL THEN1. Filed Application
- Dependent on
date_complete. - The year of
date_complete.
- Dependent on
date_complete. - The quarter of the year of
date_complete.
- Dependent on
date_permittd. - The year of
date_permittd.
- Dependent on
date_permittd. - The quarter of the year of
date_permittd.
- Mapped from dob_jobapplications
existingdwellingunits - Set to 0 for New Buildings
- Mapped from dob_jobapplications
proposeddwellingunits - Set to 0 for Demolitions
- Dependent on
classa_initandclassa_prop - The difference between
classa_initandclassa_prop
- Mapped from dob_cofos
numofdwellingunits
- Mapped from hpd_hny_units_by_building
all_counted_units - The sum of
all_counted_unitsfor HNY records associated with the job
- All are directly from the manual research table.
- The address information for the record from Geosupport; however, if Geosupport did not return any information then this is the address information from the
housenumberandstreetnamein dob_jobapplications.
- Mapped from dob_jobapplications
existingoccupancyand translated using the lookup table
- Mapped from dob_jobapplications
proposedoccupancyand translated using the lookup table
- Mapped from dob_jobapplications
jobdescription. - Administrative records are removed based on this field in combination with
job_type. - Test records are removed based on this field.
- Mapped from dob_jobapplications
prefilingdate
- Mapped from dob_jobapplications
fullypaid
- Mapped from dob_jobapplications
approved
- The earliest
issuancedatefrom dob_permitissuance
- Mapped from dob_jobapplications
signoffdate
- Mapped from dob_jobapplications
latestactiondate
- Mapped from the earliest
effectivedatefrom dob_cofos for NBs and Alts - Mapped from
date_permittedfor DM IFdate_statusxIS NOT NULL
zoningdist1, zoningdist2, zoningdist3, specialdist1, specialdist2, landmark, zsf_init, zsf_prop, bldg_class, desc_other
- Mapped from dob_jobapplications
zoningdist1,zoningdist2,zoningdist3,specialdistrict1,specialdistrict2,landmarked,existingzoningsqft,proposedzoningsqft,buildingclass,otherdesc
- Mapped from dob_jobapplications
existingnumstoriesfor only A1 and DM job types - '0' is replaced with NULL
- Mapped from dob_jobapplications
proposednumstoriesfor only A1 and NB job types - '0' is replaced with NULL
- Mapped from dob_jobapplications
existingheightfor only A1 and DM job types - '0' is replaced with NULL
- Mapped from dob_jobapplications
proposedheightfor only A1 and NB job types - '0' is replaced with NULL
- Mapped from dob_jobapplications
totalconstructionfloorarea
- Mapped from dob_jobapplications
horizontalenlrgmtandverticalenlrgmt - When
horizontalenlrgmt= 'Y' ANDverticalenlrgmt<> 'Y' then 'Horizontal' - When
horizontalenlrgmt<> 'Y' ANDverticalenlrgmt= 'Y' then 'Vertical' - When
horizontalenlrgmt= 'Y' ANDverticalenlrgmt= 'Y' then 'Horizontal and Vertical'
- Mapped from dob_jobapplications
enlargementsqfootage
- Mapped from dob_jobapplications
initialcost
- Mapped from dob_jobapplications
loftboard
- Mapped from dob_jobapplications
littlee - WHEN
littlee= 'Y' or 'H' thenedesignation= 'Yes'
- Mapped from dob_jobapplications
curbcutandcluster
- Mapped from dob_jobapplications
cityowned,ownertype, andnonprofit - The three input values are translated into a single value using this lookup table
- Mapped from dob_jobapplications
ownerfirstnameandownerlastname
- Mapped from dob_jobapplications
ownerbusinessname,ownerhousestreetname,zip, andownerphone
- All of these fields are mapped from
dcp_mappluto, which is the clipped version of MapPLUTO, by joining on thegeo_bblto the PLUTObbl
cenblock2010, bctcb2010, bct2010, nta2010, ntaname2010, puma2010, comunitydist, councildist, schoolsubdist, schoolcommnty, schoolelmntry, schoolmiddle, firecompany, firebattalion, firedivision, policeprecnct
- All of these fields come from Geosupport if the address returns a value and the record is not in TPAD; otherwise, the value is generated from a spatial join.
- The latitude and longitude value are assigned in the following order:
- DoITT building footprints point using
dob_binas a join_key (BIN DOB buildingfootprints or BIN DOB buildingfootprints (historical)) - DoITT building footprints point using
geo_binas a join_key - GeoSupport 1B function (Lat/Lon DCP, Lat/Lon geosupport)
- BBL centroid from shoreline clipped MapPLUTO using
dob_bblas a join_key (BBL DOB MapPLUTO) -
latitudeandlongitudefrom dob_jobapplications (Lat/Lon DOB)
- Dependent on
latitudeandlongitude - Describes how point geometry was created
-
BIN DOB buildingfootprints: Geometry is the centroid of the DOITT building footprint that has the same BIN as the DOB job BIN -
BIN DCP geosupport: Geometry is the centroid of the DOITT building footprint that has the same BIN as the BIN returned by Geosupport -
Lat/Lon geosupport: Geometry is created from the latitude and longitude values returned by Geosupport -
BBL DOB MapPLUTO: Geometry is the centroid of the Mappluto lot that has the same BBL as the DOB job BBL -
BIN DOB buildingfootprints (historical): Geometry is the centroid of the historical DOITT building footprint that has the same BIN as the DOB job BIN -
Lat/Lon DOB: Geometry is created from the latitude and longitude values in the DOB source data -
Lat/Lon DCP: Geometry is created from latitude and longitude provided in the manual corrections file
-
- Mapped from hpd_hny_units_by_building
project_idandbuilding_id
- Dependent on how many HNY jobs match to one DOB job, and vice versa
- The version of the database
-
About
-
Workflow
-
Previous Releases