Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Census2022
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SERG
Census2022
Commits
1d895d2c
Commit
1d895d2c
authored
10 years ago
by
Ben Anderson
Browse files
Options
Downloads
Patches
Plain Diff
added comments & altered source of survey data
parent
f513fd3d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CER-data-processing-Census2022.do
+5
-2
5 additions, 2 deletions
CER-data-processing-Census2022.do
with
5 additions
and
2 deletions
CER-data-processing-Census2022.do
+
5
−
2
View file @
1d895d2c
...
@@ -34,7 +34,7 @@ global where "/Users/ben/Documents/Work"
...
@@ -34,7 +34,7 @@ global where "/Users/ben/Documents/Work"
global
proot
"$where/Projects/ESRC-Transformative-Census2022"
global
proot
"$where/Projects/ESRC-Transformative-Census2022"
global
rfiles
"$proot/results/CER-Irish-SM-Trial"
global
rfiles
"$proot/results/CER-Irish-SM-Trial"
* original files
* original files
global
odfiles
"$where/Data/Social Science Datatsets/CER Smart Metering Project"
global
odfiles
"$where/Data/Social Science Datatsets/CER Smart Metering Project
/data
"
* processed files
* processed files
global
pdfiles
"$proot/data/cer"
global
pdfiles
"$proot/data/cer"
...
@@ -76,7 +76,10 @@ tab wkend_fitcluster midwk_fitcluster, mi
...
@@ -76,7 +76,10 @@ tab wkend_fitcluster midwk_fitcluster, mi
save
"$pdfiles/October 2009 summaries/OctHH_clusterIDs.dta"
,
replace
save
"$pdfiles/October 2009 summaries/OctHH_clusterIDs.dta"
,
replace
merge
1
:
1
ID
using
"$pdfiles/Smart meters Residential pre-trial survey data-$version.dta"
* add in survey data created using
* https://github.com/dataknut/Census2022/blob/master/CER-data-processing-original.do
merge
1
:
1
ID
using
"$odfiles/processed/Smart meters Residential pre-trial survey data-$version.dta"
* so 746 households don't match to the Oct 2009 sample leaving us with 3,486
* so 746 households don't match to the Oct 2009 sample leaving us with 3,486
gen
oct_sample
=
0
gen
oct_sample
=
0
...
...
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