Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
DECC-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ben Anderson
DECC-data
Commits
c5136350
Commit
c5136350
authored
10 years ago
by
Ben Anderson
Browse files
Options
Downloads
Patches
Plain Diff
updated processing script with *valid definitions
parent
ac46edf1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NEED/process-NEED-EULF-2014.do
+17
-2
17 additions, 2 deletions
NEED/process-NEED-EULF-2014.do
with
17 additions
and
2 deletions
NEED/process-NEED-EULF-2014.do
+
17
−
2
View file @
c5136350
...
...
@@ -14,6 +14,23 @@
* Gcons<year>valid variable has undefined labels: G, L, M = ? Presumably 0 = off gas & V = valid?
* ideally DECC should set missing to -99 to aid re-coding and avoid unpleasant surprises in naive analysis!
the
Gcons
*
valid
variable
codes
:
G
=
Gas
consumption
invalid
,
greater
than
50
,
000
L
=
Gas
consumption
invalid
,
less
than
100
M
=
Gas
consumption
data
is
missing
in
source
data
0
=
Property
does
not
have
a
gas
connection
V
=
Valid
gas
consumption
(
between
100
and
50
,
000
inclusive
)
NB
-
there
are
valid
gas
readings
of
'
0
'
which
presumably
were
>
100
but
<
249
(
first
gas
'
heap
'
=
'
nearest
500
'
)
the
Econs
*
valid
variable
codes
:
G
Electricity
consumption
invalid
,
greater
than
25
,
000
(
DECC
lookup
table
says
50
,
000
)
L
Electricity
consumption
invalid
,
less
than
100
M
Electricity
consumption
data
is
missing
in
source
dataset
V
Valid
electricity
consumption
(
between
100
and
25
,
000
inclusive
)
/*
Copyright (C) 2014 University of Southampton
...
...
@@ -85,7 +102,6 @@ if `create_codebook' {
log
off
main
log
using
"`dpath'/processed/codebook-NEED-EULF-2014-`version'-`sample'pc-$S_DATE.smcl"
,
replace
name
(
cb
)
desc
di
"** no idea what G, L, M mean in the 'valid' variables - presumably 0 = off gas & V = valid?"
codebook
log
close
cb
log
on
main
...
...
@@ -157,7 +173,6 @@ if `create_xwavefile' {
log
off
main
log
using
"`dpath'/processed/codebook-NEED-EULF-2014-`ifile'_xwavefile-`version'-`samplet'-$S_DATE.smcl"
,
replace
name
(
cb_xwave
)
desc
di
"** no idea what G, L, M mean in the 'valid' variables - presumably 0 = off gas & V = valid?"
di
"** urban/rural would be helpful"
codebook
compress
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment