Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Peter Jentsch
CovidAlertABM
Commits
6094d595
Commit
6094d595
authored
Sep 20, 2021
by
Mark Penney
Browse files
Update CData.py
parent
24e8534d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CovidAlertVaccinationModel/data/canada-network-data/Timeuse/Community/CData.py
...Model/data/canada-network-data/Timeuse/Community/CData.py
+2
-2
No files found.
CovidAlertVaccinationModel/data/canada-network-data/Timeuse/Community/CData.py
View file @
6094d595
...
...
@@ -6,7 +6,7 @@ Created on 2021-02-08
Short script to organize the community duration data from the timeuse survey.
Community = non-household
Aggregates reported durations according to age bracket of respondent
Duration keys 206, 207 and 209 must be aggregated using the expected coverage
Duration keys 206, 207
, 208
and 209 must be aggregated using the expected coverage
derived from the Intervals model.
@author: mark
...
...
@@ -59,4 +59,4 @@ for x in Brac:
# Save to csv
for
x
in
Brac
:
Datadf
=
pd
.
DataFrame
(
CData
[
x
])
Datadf
.
to_csv
(
'CData'
+
x
+
'.csv'
,
index
=
False
)
\ No newline at end of file
Datadf
.
to_csv
(
'CData'
+
x
+
'.csv'
,
index
=
False
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment