Add missed fields to bulk extract query, docs
This commit is contained in:
parent
d85f515c89
commit
8fb7d43c38
@ -20,6 +20,7 @@ The second section would be required when adding a new category or when changing
|
|||||||
|
|
||||||
#### In data extracts
|
#### In data extracts
|
||||||
1. Add the field to the select list in the COPY query in `maintenance/extract_data/export_attributes.sql`
|
1. Add the field to the select list in the COPY query in `maintenance/extract_data/export_attributes.sql`
|
||||||
|
2. Add a description of the field to the `README.txt` file
|
||||||
|
|
||||||
### Adding an attribute which is used to colour the map
|
### Adding an attribute which is used to colour the map
|
||||||
|
|
||||||
|
@ -41,7 +41,11 @@ This is the main table, containing almost all data collected by Colouring London
|
|||||||
- `location_postcode`: postcode
|
- `location_postcode`: postcode
|
||||||
- `location_latitude`: latitude
|
- `location_latitude`: latitude
|
||||||
- `location_longitude`: longitude
|
- `location_longitude`: longitude
|
||||||
|
- `current_landuse_class`: current land use class
|
||||||
|
- `current_landuse_group`: current land use group
|
||||||
|
- `current_landuse_order`: current land use order
|
||||||
- `building_attachment_form`: building attachment form
|
- `building_attachment_form`: building attachment form
|
||||||
|
- `date_change_building_use`: year of last building use change
|
||||||
- `date_year`: year built
|
- `date_year`: year built
|
||||||
- `date_lower`: lower bound on year built
|
- `date_lower`: lower bound on year built
|
||||||
- `date_upper`: upper bound on year built
|
- `date_upper`: upper bound on year built
|
||||||
|
@ -11,7 +11,11 @@ COPY (SELECT
|
|||||||
location_postcode,
|
location_postcode,
|
||||||
location_latitude,
|
location_latitude,
|
||||||
location_longitude,
|
location_longitude,
|
||||||
|
current_landuse_class,
|
||||||
|
current_landuse_group,
|
||||||
|
current_landuse_order,
|
||||||
building_attachment_form,
|
building_attachment_form,
|
||||||
|
date_change_building_use,
|
||||||
date_year,
|
date_year,
|
||||||
date_lower,
|
date_lower,
|
||||||
date_upper,
|
date_upper,
|
||||||
|
Loading…
Reference in New Issue
Block a user