A => data/anes/08475-0001-Supplemental_syntax.do +799 -0
@@ 1,799 @@
+/*-------------------------------------------------------------------------*
+ |
+ | STATA SUPPLEMENTAL SYNTAX FILE FOR ICPSR 08475
+ | ANES TIME SERIES CUMULATIVE DATA FILE (1948-2012)
+ |
+ |
+ | This Stata missing value recode program is provided for optional use with
+ | the Stata system version of this data file as distributed by ICPSR.
+ | The program replaces user-defined numeric missing values (e.g., -9)
+ | with generic system missing "." Note that Stata allows you to specify
+ | up to 27 unique missing value codes. Only variables with user-defined
+ | missing values are included in this program.
+ |
+ | To apply the missing value recodes, users need to first open the
+ | Stata data file on their system, apply the missing value recodes if
+ | desired, then save a new copy of the data file with the missing values
+ | applied. Users are strongly advised to use a different filename when
+ | saving the new file.
+ |
+ *------------------------------------------------------------------------*/
+
+replace VCF0012 = . if (VCF0012 == 9)
+replace VCF0012A = . if (VCF0012A == 9)
+replace VCF0012B = . if (VCF0012B == 9)
+replace VCF0018A = . if (VCF0018A == 9)
+replace VCF0018B = . if (VCF0018B == 9)
+replace VCF0019 = . if (VCF0019 == 9 | VCF0019 == 0)
+replace VCF0050A = . if (VCF0050A == 9)
+replace VCF0050B = . if (VCF0050B == 9 | VCF0050B == 0)
+replace VCF0070A = . if (VCF0070A == 9)
+replace VCF0070B = . if (VCF0070B == 9 | VCF0070B == 0)
+replace VCF0071A = . if (VCF0071A == 9)
+replace VCF0071B = . if (VCF0071B == 9 | VCF0071B == 0)
+replace VCF0071C = . if (VCF0071C == 9)
+replace VCF0071D = . if (VCF0071D == 9 | VCF0071D == 0)
+replace VCF0072A = . if (VCF0072A == 9)
+replace VCF0072B = . if (VCF0072B == 9 | VCF0072B == 0)
+replace VCF0101 = . if (VCF0101 == 0)
+replace VCF0102 = . if (VCF0102 == 0)
+replace VCF0103 = . if (VCF0103 == 0)
+replace VCF0104 = . if (VCF0104 == 0)
+replace VCF0105A = . if (VCF0105A == 9)
+replace VCF0105B = . if (VCF0105B == 9 | VCF0105B == 0)
+replace VCF0106 = . if (VCF0106 == 9 | VCF0106 == 0)
+replace VCF0107 = . if (VCF0107 == 8 | VCF0107 == 9 | VCF0107 == 0)
+replace VCF0108 = . if (VCF0108 == 8 | VCF0108 == 9 | VCF0108 == 0)
+replace VCF0109 = . if (VCF0109 == 877 | VCF0109 == 888 | VCF0109 == 0)
+replace VCF0110 = . if (VCF0110 == 0)
+replace VCF0111 = . if (VCF0111 == 0)
+replace VCF0112 = . if (VCF0112 == 0)
+replace VCF0114 = . if (VCF0114 == 0)
+replace VCF0115 = . if (VCF0115 == 0)
+replace VCF0116 = . if (VCF0116 == 9)
+replace VCF0117 = . if (VCF0117 == 9)
+replace VCF0118 = . if (VCF0118 == 9)
+replace VCF0119 = . if (VCF0119 == 9)
+replace VCF0120 = . if (VCF0120 == 998 | VCF0120 == 0)
+replace VCF0121 = . if (VCF0121 == 998 | VCF0121 == 999 | VCF0121 == 0)
+replace VCF0122 = . if (VCF0122 == 998 | VCF0122 == 0)
+replace VCF0123 = . if (VCF0123 == 998 | VCF0123 == 999 | VCF0123 == 0)
+replace VCF0124 = . if (VCF0124 == 98 | VCF0124 == 99 | VCF0124 == 0)
+replace VCF0125 = . if (VCF0125 == 98 | VCF0125 == 99 | VCF0125 == 0)
+replace VCF0126 = . if (VCF0126 == 0)
+replace VCF0126A = . if (VCF0126A == 9 | VCF0126A == 0)
+replace VCF0126B = . if (VCF0126B == 98 | VCF0126B == 99 | VCF0126B == 0)
+replace VCF0126C = . if (VCF0126C == 98 | VCF0126C == 99 | VCF0126C == 0)
+replace VCF0127 = . if (VCF0127 == 0)
+replace VCF0127A = . if (VCF0127A == 99)
+replace VCF0127B = . if (VCF0127B == 9)
+replace VCF0128 = . if (VCF0128 == 0)
+replace VCF0128A = . if (VCF0128A == 9)
+replace VCF0128B = . if (VCF0128B == 9)
+replace VCF0129 = . if (VCF0129 == 996 | VCF0129 == 998 | VCF0129 == 999)
+replace VCF0130 = . if (VCF0130 == 8 | VCF0130 == 9 | VCF0130 == 0)
+replace VCF0130A = . if (VCF0130A == 8 | VCF0130A == 9)
+replace VCF0131 = . if (VCF0131 == 9 | VCF0131 == 0)
+replace VCF0132 = . if (VCF0132 == 998 | VCF0132 == 999 | VCF0132 == 0)
+replace VCF0133 = . if (VCF0133 == 998 | VCF0133 == 999 | VCF0133 == 0)
+replace VCF0134 = . if (VCF0134 == 8 | VCF0134 == 9)
+replace VCF0135 = . if (VCF0135 == 8 | VCF0135 == 9)
+replace VCF0136 = . if (VCF0136 == 9)
+replace VCF0137 = . if (VCF0137 == 9)
+replace VCF0138 = . if (VCF0138 == 9)
+replace VCF0138A = . if (VCF0138A == 9)
+replace VCF0138B = . if (VCF0138B == 9)
+replace VCF0138C = . if (VCF0138C == 9)
+replace VCF0138D = . if (VCF0138D == 9)
+replace VCF0138E = . if (VCF0138E == 9)
+replace VCF0139 = . if (VCF0139 == 9)
+replace VCF0140 = . if (VCF0140 == 8 | VCF0140 == 9)
+replace VCF0140A = . if (VCF0140A == 8 | VCF0140A == 9)
+replace VCF0141 = . if (VCF0141 == 8 | VCF0141 == 9)
+replace VCF0142 = . if (VCF0142 == 998 | VCF0142 == 999 | VCF0142 == 0)
+replace VCF0143 = . if (VCF0143 == 8 | VCF0143 == 9)
+replace VCF0144 = . if (VCF0144 == 998 | VCF0144 == 999 | VCF0144 == 0)
+replace VCF0145 = . if (VCF0145 == 998 | VCF0145 == 999)
+replace VCF0146 = . if (VCF0146 == 8 | VCF0146 == 9)
+replace VCF0147 = . if (VCF0147 == 8 | VCF0147 == 9)
+replace VCF0148 = . if (VCF0148 == 9)
+replace VCF0148A = . if (VCF0148A == 9)
+replace VCF0149 = . if (VCF0149 == 9)
+replace VCF0150 = . if (VCF0150 == 99)
+replace VCF0151 = . if (VCF0151 == 0)
+replace VCF0152 = . if (VCF0152 == 998 | VCF0152 == 999)
+replace VCF0153A = . if (VCF0153A == 9 | VCF0153A == 0)
+replace VCF0153B = . if (VCF0153B == 98 | VCF0153B == 99 | VCF0153B == 0)
+replace VCF0153C = . if (VCF0153C == 98 | VCF0153C == 99 | VCF0153C == 0)
+replace VCF0154A = . if (VCF0154A == 0)
+replace VCF0154B = . if (VCF0154B == 0)
+replace VCF0155 = . if (VCF0155 == 8 | VCF0155 == 9 | VCF0155 == 0)
+replace VCF0156 = . if (VCF0156 == 8 | VCF0156 == 9 | VCF0156 == 0)
+replace VCF0157 = . if (VCF0157 == 8 | VCF0157 == 9 | VCF0157 == 0)
+replace VCF0201 = . if (VCF0201 == 98 | VCF0201 == 99)
+replace VCF0202 = . if (VCF0202 == 98 | VCF0202 == 99)
+replace VCF0203 = . if (VCF0203 == 98 | VCF0203 == 99)
+replace VCF0204 = . if (VCF0204 == 98 | VCF0204 == 99)
+replace VCF0205 = . if (VCF0205 == 98 | VCF0205 == 99)
+replace VCF0206 = . if (VCF0206 == 98 | VCF0206 == 99)
+replace VCF0207 = . if (VCF0207 == 98 | VCF0207 == 99)
+replace VCF0208 = . if (VCF0208 == 98 | VCF0208 == 99)
+replace VCF0209 = . if (VCF0209 == 98 | VCF0209 == 99)
+replace VCF0210 = . if (VCF0210 == 98 | VCF0210 == 99)
+replace VCF0211 = . if (VCF0211 == 98 | VCF0211 == 99)
+replace VCF0212 = . if (VCF0212 == 98 | VCF0212 == 99)
+replace VCF0213 = . if (VCF0213 == 98 | VCF0213 == 99)
+replace VCF0214 = . if (VCF0214 == 98 | VCF0214 == 99)
+replace VCF0215 = . if (VCF0215 == 98 | VCF0215 == 99)
+replace VCF0216 = . if (VCF0216 == 98 | VCF0216 == 99)
+replace VCF0217 = . if (VCF0217 == 98 | VCF0217 == 99)
+replace VCF0218 = . if (VCF0218 == 98 | VCF0218 == 99)
+replace VCF0219 = . if (VCF0219 == 98 | VCF0219 == 99)
+replace VCF0220 = . if (VCF0220 == 98 | VCF0220 == 99)
+replace VCF0221 = . if (VCF0221 == 98 | VCF0221 == 99)
+replace VCF0222 = . if (VCF0222 == 98 | VCF0222 == 99)
+replace VCF0223 = . if (VCF0223 == 98 | VCF0223 == 99)
+replace VCF0224 = . if (VCF0224 == 98 | VCF0224 == 99)
+replace VCF0225 = . if (VCF0225 == 98 | VCF0225 == 99)
+replace VCF0226 = . if (VCF0226 == 98 | VCF0226 == 99)
+replace VCF0227 = . if (VCF0227 == 98 | VCF0227 == 99)
+replace VCF0228 = . if (VCF0228 == 98 | VCF0228 == 99)
+replace VCF0229 = . if (VCF0229 == 98 | VCF0229 == 99)
+replace VCF0230 = . if (VCF0230 == 98 | VCF0230 == 99)
+replace VCF0231 = . if (VCF0231 == 98 | VCF0231 == 99)
+replace VCF0232 = . if (VCF0232 == 98 | VCF0232 == 99)
+replace VCF0233 = . if (VCF0233 == 98 | VCF0233 == 99)
+replace VCF0234 = . if (VCF0234 == 98 | VCF0234 == 99)
+replace VCF0235 = . if (VCF0235 == 98 | VCF0235 == 99)
+replace VCF0236 = . if (VCF0236 == 98 | VCF0236 == 99)
+replace VCF0253 = . if (VCF0253 == 98 | VCF0253 == 99)
+replace VCF0290 = . if (VCF0290 == 998 | VCF0290 == 999)
+replace VCF0291 = . if (VCF0291 == 998 | VCF0291 == 999)
+replace VCF0301 = . if (VCF0301 == 0)
+replace VCF0302 = . if (VCF0302 == 8 | VCF0302 == 9)
+replace VCF0303 = . if (VCF0303 == 0)
+replace VCF0305 = . if (VCF0305 == 0)
+replace VCF0306 = . if (VCF0306 == 9 | VCF0306 == 0)
+replace VCF0307 = . if (VCF0307 == 9 | VCF0307 == 0)
+replace VCF0308 = . if (VCF0308 == 9 | VCF0308 == 0)
+replace VCF0309 = . if (VCF0309 == 9 | VCF0309 == 0)
+replace VCF0310 = . if (VCF0310 == 0)
+replace VCF0311 = . if (VCF0311 == 0)
+replace VCF0312 = . if (VCF0312 == 0)
+replace VCF0313 = . if (VCF0313 == 0)
+replace VCF0314 = . if (VCF0314 == 9)
+replace VCF0315 = . if (VCF0315 == 9)
+replace VCF0316 = . if (VCF0316 == 99)
+replace VCF0317 = . if (VCF0317 == 99)
+replace VCF0318 = . if (VCF0318 == 9)
+replace VCF0319 = . if (VCF0319 == 9)
+replace VCF0320 = . if (VCF0320 == 99)
+replace VCF0321 = . if (VCF0321 == 99)
+replace VCF0322 = . if (VCF0322 == 999)
+replace VCF0323 = . if (VCF0323 == 99)
+replace VCF0324 = . if (VCF0324 == 999)
+replace VCF0338 = . if (VCF0338 == 8 | VCF0338 == 9 | VCF0338 == 0)
+replace VCF0339 = . if (VCF0339 == 8 | VCF0339 == 9 | VCF0339 == 0)
+replace VCF0340 = . if (VCF0340 == 8 | VCF0340 == 9 | VCF0340 == 0)
+replace VCF0341 = . if (VCF0341 == 8 | VCF0341 == 9 | VCF0341 == 0)
+replace VCF0342 = . if (VCF0342 == 8 | VCF0342 == 9 | VCF0342 == 0)
+replace VCF0343 = . if (VCF0343 == 8 | VCF0343 == 9 | VCF0343 == 0)
+replace VCF0344 = . if (VCF0344 == 8 | VCF0344 == 9 | VCF0344 == 0)
+replace VCF0345 = . if (VCF0345 == 8 | VCF0345 == 9 | VCF0345 == 0)
+replace VCF0346 = . if (VCF0346 == 8 | VCF0346 == 9 | VCF0346 == 0)
+replace VCF0347 = . if (VCF0347 == 8 | VCF0347 == 9 | VCF0347 == 0)
+replace VCF0348 = . if (VCF0348 == 8 | VCF0348 == 9 | VCF0348 == 0)
+replace VCF0349 = . if (VCF0349 == 8 | VCF0349 == 9 | VCF0349 == 0)
+replace VCF0350 = . if (VCF0350 == 8 | VCF0350 == 9 | VCF0350 == 0)
+replace VCF0351 = . if (VCF0351 == 8 | VCF0351 == 9)
+replace VCF0352 = . if (VCF0352 == 8 | VCF0352 == 9)
+replace VCF0353 = . if (VCF0353 == 8 | VCF0353 == 9)
+replace VCF0354 = . if (VCF0354 == 8 | VCF0354 == 9 | VCF0354 == 0)
+replace VCF0355 = . if (VCF0355 == 8 | VCF0355 == 9 | VCF0355 == 0)
+replace VCF0356 = . if (VCF0356 == 8 | VCF0356 == 9 | VCF0356 == 0)
+replace VCF0357 = . if (VCF0357 == 8 | VCF0357 == 9 | VCF0357 == 0)
+replace VCF0358 = . if (VCF0358 == 8 | VCF0358 == 9)
+replace VCF0359 = . if (VCF0359 == 8 | VCF0359 == 9)
+replace VCF0360 = . if (VCF0360 == 8 | VCF0360 == 9)
+replace VCF0361 = . if (VCF0361 == 8 | VCF0361 == 9)
+replace VCF0362 = . if (VCF0362 == 8 | VCF0362 == 9 | VCF0362 == 0)
+replace VCF0363 = . if (VCF0363 == 8 | VCF0363 == 9)
+replace VCF0364 = . if (VCF0364 == 8 | VCF0364 == 9)
+replace VCF0365 = . if (VCF0365 == 8 | VCF0365 == 9)
+replace VCF0366 = . if (VCF0366 == 8 | VCF0366 == 9 | VCF0366 == 0)
+replace VCF0367 = . if (VCF0367 == 8 | VCF0367 == 9 | VCF0367 == 0)
+replace VCF0368 = . if (VCF0368 == 8 | VCF0368 == 9 | VCF0368 == 0)
+replace VCF0369 = . if (VCF0369 == 8 | VCF0369 == 9 | VCF0369 == 0)
+replace VCF0370 = . if (VCF0370 == 8 | VCF0370 == 9)
+replace VCF0371 = . if (VCF0371 == 8 | VCF0371 == 9)
+replace VCF0372 = . if (VCF0372 == 8 | VCF0372 == 9)
+replace VCF0373 = . if (VCF0373 == 8 | VCF0373 == 9)
+replace VCF0374 = . if (VCF0374 == 8 | VCF0374 == 9)
+replace VCF0375A = . if (VCF0375A == 8888 | VCF0375A == 8889)
+replace VCF0375B = . if (VCF0375B == 88 | VCF0375B == 89)
+replace VCF0375C = . if (VCF0375C == 9987 | VCF0375C == 9988 | VCF0375C == 9989)
+replace VCF0375D = . if (VCF0375D == 87 | VCF0375D == 89)
+replace VCF0380 = . if (VCF0380 == 8 | VCF0380 == 9)
+replace VCF0381A = . if (VCF0381A == 8888 | VCF0381A == 8889)
+replace VCF0381B = . if (VCF0381B == 88 | VCF0381B == 89)
+replace VCF0381C = . if (VCF0381C == 9987 | VCF0381C == 9988 | VCF0381C == 9989)
+replace VCF0381D = . if (VCF0381D == 87 | VCF0381D == 89)
+replace VCF0386 = . if (VCF0386 == 8 | VCF0386 == 9)
+replace VCF0387A = . if (VCF0387A == 8888 | VCF0387A == 8889)
+replace VCF0387B = . if (VCF0387B == 88 | VCF0387B == 89)
+replace VCF0387C = . if (VCF0387C == 9987 | VCF0387C == 9988 | VCF0387C == 9989)
+replace VCF0387D = . if (VCF0387D == 87 | VCF0387D == 89)
+replace VCF0392 = . if (VCF0392 == 8 | VCF0392 == 9)
+replace VCF0393A = . if (VCF0393A == 8888 | VCF0393A == 8889)
+replace VCF0393B = . if (VCF0393B == 88 | VCF0393B == 89)
+replace VCF0393C = . if (VCF0393C == 9987 | VCF0393C == 9988 | VCF0393C == 9989)
+replace VCF0393D = . if (VCF0393D == 87 | VCF0393D == 89)
+replace VCF0401 = . if (VCF0401 == 9)
+replace VCF0402 = . if (VCF0402 == 9)
+replace VCF0403 = . if (VCF0403 == 99)
+replace VCF0404 = . if (VCF0404 == 99)
+replace VCF0405 = . if (VCF0405 == 9)
+replace VCF0406 = . if (VCF0406 == 9)
+replace VCF0407 = . if (VCF0407 == 99)
+replace VCF0408 = . if (VCF0408 == 99)
+replace VCF0409 = . if (VCF0409 == 999)
+replace VCF0410 = . if (VCF0410 == 99)
+replace VCF0411 = . if (VCF0411 == 999)
+replace VCF0412 = . if (VCF0412 == 98 | VCF0412 == 99)
+replace VCF0413 = . if (VCF0413 == 998 | VCF0413 == 999)
+replace VCF0414 = . if (VCF0414 == 98 | VCF0414 == 99)
+replace VCF0415 = . if (VCF0415 == 998 | VCF0415 == 999)
+replace VCF0424 = . if (VCF0424 == 98 | VCF0424 == 99)
+replace VCF0425 = . if (VCF0425 == 98 | VCF0425 == 99)
+replace VCF0426 = . if (VCF0426 == 98 | VCF0426 == 99)
+replace VCF0427 = . if (VCF0427 == 98 | VCF0427 == 99)
+replace VCF0428 = . if (VCF0428 == 98 | VCF0428 == 99)
+replace VCF0429 = . if (VCF0429 == 98 | VCF0429 == 99)
+replace VCF0432 = . if (VCF0432 == 98 | VCF0432 == 99)
+replace VCF0433 = . if (VCF0433 == 98 | VCF0433 == 99)
+replace VCF0434 = . if (VCF0434 == 98 | VCF0434 == 99)
+replace VCF0435 = . if (VCF0435 == 98 | VCF0435 == 99)
+replace VCF0436 = . if (VCF0436 == 98 | VCF0436 == 99)
+replace VCF0437 = . if (VCF0437 == 98 | VCF0437 == 99)
+replace VCF0438 = . if (VCF0438 == 98 | VCF0438 == 99)
+replace VCF0439 = . if (VCF0439 == 98 | VCF0439 == 99)
+replace VCF0440 = . if (VCF0440 == 98 | VCF0440 == 99)
+replace VCF0441 = . if (VCF0441 == 98 | VCF0441 == 99)
+replace VCF0442 = . if (VCF0442 == 98 | VCF0442 == 99)
+replace VCF0443 = . if (VCF0443 == 98 | VCF0443 == 99)
+replace VCF0444 = . if (VCF0444 == 98 | VCF0444 == 99)
+replace VCF0445 = . if (VCF0445 == 98 | VCF0445 == 99)
+replace VCF0446 = . if (VCF0446 == 98 | VCF0446 == 99)
+replace VCF0447 = . if (VCF0447 == 98 | VCF0447 == 99)
+replace VCF0448 = . if (VCF0448 == 98 | VCF0448 == 99)
+replace VCF0449 = . if (VCF0449 == 98 | VCF0449 == 99)
+replace VCF0450 = . if (VCF0450 == 0)
+replace VCF0451 = . if (VCF0451 == 0)
+replace VCF0471 = . if (VCF0471 == 98 | VCF0471 == 99)
+replace VCF0472 = . if (VCF0472 == 98 | VCF0472 == 99)
+replace VCF0473 = . if (VCF0473 == 98 | VCF0473 == 99)
+replace VCF0475 = . if (VCF0475 == 98 | VCF0475 == 99)
+replace VCF0476A = . if (VCF0476A == 8888 | VCF0476A == 8889)
+replace VCF0476B = . if (VCF0476B == 88 | VCF0476B == 89)
+replace VCF0476C = . if (VCF0476C == 9987 | VCF0476C == 9988 | VCF0476C == 9989)
+replace VCF0476D = . if (VCF0476D == 87 | VCF0476D == 89)
+replace VCF0481 = . if (VCF0481 == 8 | VCF0481 == 9)
+replace VCF0482A = . if (VCF0482A == 8888 | VCF0482A == 8889)
+replace VCF0482B = . if (VCF0482B == 88 | VCF0482B == 89)
+replace VCF0482C = . if (VCF0482C == 9987 | VCF0482C == 9988 | VCF0482C == 9989)
+replace VCF0482D = . if (VCF0482D == 87 | VCF0482D == 89)
+replace VCF0487 = . if (VCF0487 == 8 | VCF0487 == 9)
+replace VCF0488A = . if (VCF0488A == 8888 | VCF0488A == 8889)
+replace VCF0488B = . if (VCF0488B == 88 | VCF0488B == 89)
+replace VCF0488C = . if (VCF0488C == 9987 | VCF0488C == 9988 | VCF0488C == 9989)
+replace VCF0488D = . if (VCF0488D == 87 | VCF0488D == 89)
+replace VCF0493 = . if (VCF0493 == 8 | VCF0493 == 9)
+replace VCF0494A = . if (VCF0494A == 8888 | VCF0494A == 8889)
+replace VCF0494B = . if (VCF0494B == 88 | VCF0494B == 89)
+replace VCF0494C = . if (VCF0494C == 9987 | VCF0494C == 9988 | VCF0494C == 9989)
+replace VCF0494D = . if (VCF0494D == 87 | VCF0494D == 89)
+replace VCF0501 = . if (VCF0501 == 0)
+replace VCF0502 = . if (VCF0502 == 0)
+replace VCF0502A = . if (VCF0502A == 0)
+replace VCF0503 = . if (VCF0503 == 8 | VCF0503 == 0)
+replace VCF0504 = . if (VCF0504 == 8 | VCF0504 == 0)
+replace VCF0507 = . if (VCF0507 == 8 | VCF0507 == 9 | VCF0507 == 0)
+replace VCF0508 = . if (VCF0508 == 8 | VCF0508 == 0)
+replace VCF0509 = . if (VCF0509 == 8 | VCF0509 == 0)
+replace VCF0512 = . if (VCF0512 == 8 | VCF0512 == 0)
+replace VCF0513 = . if (VCF0513 == 8 | VCF0513 == 9 | VCF0513 == 0)
+replace VCF0514 = . if (VCF0514 == 8 | VCF0514 == 9 | VCF0514 == 0)
+replace VCF0517 = . if (VCF0517 == 8 | VCF0517 == 9 | VCF0517 == 0)
+replace VCF0518 = . if (VCF0518 == 8 | VCF0518 == 9 | VCF0518 == 0)
+replace VCF0521 = . if (VCF0521 == 0)
+replace VCF0521A = . if (VCF0521A == 0)
+replace VCF0522 = . if (VCF0522 == 0)
+replace VCF0523 = . if (VCF0523 == 8 | VCF0523 == 0)
+replace VCF0524 = . if (VCF0524 == 8 | VCF0524 == 0)
+replace VCF0525 = . if (VCF0525 == 8 | VCF0525 == 0)
+replace VCF0528 = . if (VCF0528 == 8 | VCF0528 == 0)
+replace VCF0529 = . if (VCF0529 == 8 | VCF0529 == 0)
+replace VCF0533 = . if (VCF0533 == 8 | VCF0533 == 0)
+replace VCF0534 = . if (VCF0534 == 8 | VCF0534 == 0)
+replace VCF0537 = . if (VCF0537 == 8 | VCF0537 == 0)
+replace VCF0538 = . if (VCF0538 == 8 | VCF0538 == 0)
+replace VCF0541 = . if (VCF0541 == 8 | VCF0541 == 0)
+replace VCF0542 = . if (VCF0542 == 8 | VCF0542 == 0)
+replace VCF0545 = . if (VCF0545 == 8 | VCF0545 == 0)
+replace VCF0546 = . if (VCF0546 == 8 | VCF0546 == 0)
+replace VCF0549 = . if (VCF0549 == 8 | VCF0549 == 0)
+replace VCF0550 = . if (VCF0550 == 8 | VCF0550 == 0)
+replace VCF0601 = . if (VCF0601 == 0)
+replace VCF0602 = . if (VCF0602 == 0)
+replace VCF0603 = . if (VCF0603 == 0)
+replace VCF0604 = . if (VCF0604 == 0)
+replace VCF0605 = . if (VCF0605 == 0)
+replace VCF0606 = . if (VCF0606 == 0)
+replace VCF0607 = . if (VCF0607 == 0)
+replace VCF0608 = . if (VCF0608 == 0)
+replace VCF0609 = . if (VCF0609 == 0)
+replace VCF0610 = . if (VCF0610 == 0)
+replace VCF0611 = . if (VCF0611 == 0)
+replace VCF0612 = . if (VCF0612 == 0)
+replace VCF0613 = . if (VCF0613 == 0)
+replace VCF0614 = . if (VCF0614 == 0)
+replace VCF0615 = . if (VCF0615 == 0)
+replace VCF0616 = . if (VCF0616 == 0)
+replace VCF0617 = . if (VCF0617 == 0)
+replace VCF0618 = . if (VCF0618 == 0)
+replace VCF0619 = . if (VCF0619 == 0)
+replace VCF0620 = . if (VCF0620 == 0)
+replace VCF0621 = . if (VCF0621 == 0)
+replace VCF0622 = . if (VCF0622 == 0)
+replace VCF0623 = . if (VCF0623 == 0)
+replace VCF0624 = . if (VCF0624 == 0)
+replace VCF0625 = . if (VCF0625 == 0)
+replace VCF0626 = . if (VCF0626 == 0)
+replace VCF0627 = . if (VCF0627 == 0)
+replace VCF0628 = . if (VCF0628 == 0)
+replace VCF0629 = . if (VCF0629 == 0)
+replace VCF0630 = . if (VCF0630 == 0)
+replace VCF0631 = . if (VCF0631 == 0)
+replace VCF0632 = . if (VCF0632 == 0)
+replace VCF0633 = . if (VCF0633 == 0)
+replace VCF0634 = . if (VCF0634 == 0)
+replace VCF0640 = . if (VCF0640 == 9 | VCF0640 == 0)
+replace VCF0648 = . if (VCF0648 == 999)
+replace VCF0649 = . if (VCF0649 == 999)
+replace VCF0650 = . if (VCF0650 == 9)
+replace VCF0651 = . if (VCF0651 == 9)
+replace VCF0652 = . if (VCF0652 == 9)
+replace VCF0653 = . if (VCF0653 == 9)
+replace VCF0654 = . if (VCF0654 == 9)
+replace VCF0655 = . if (VCF0655 == 9)
+replace VCF0656 = . if (VCF0656 == 999)
+replace VCF0675 = . if (VCF0675 == 9)
+replace VCF0700 = . if (VCF0700 == 9)
+replace VCF0701 = . if (VCF0701 == 0)
+replace VCF0702 = . if (VCF0702 == 0)
+replace VCF0703 = . if (VCF0703 == 0)
+replace VCF0704 = . if (VCF0704 == 0)
+replace VCF0704A = . if (VCF0704A == 0)
+replace VCF0705 = . if (VCF0705 == 0)
+replace VCF0706 = . if (VCF0706 == 0)
+replace VCF0707 = . if (VCF0707 == 0)
+replace VCF0708 = . if (VCF0708 == 0)
+replace VCF0709 = . if (VCF0709 == 0)
+replace VCF0710 = . if (VCF0710 == 0)
+replace VCF0711 = . if (VCF0711 == 0)
+replace VCF0712 = . if (VCF0712 == 0)
+replace VCF0713 = . if (VCF0713 == 0)
+replace VCF0714 = . if (VCF0714 == 0)
+replace VCF0715 = . if (VCF0715 == 0)
+replace VCF0716 = . if (VCF0716 == 0)
+replace VCF0717 = . if (VCF0717 == 0)
+replace VCF0718 = . if (VCF0718 == 0)
+replace VCF0719 = . if (VCF0719 == 0)
+replace VCF0720 = . if (VCF0720 == 0)
+replace VCF0721 = . if (VCF0721 == 0)
+replace VCF0722 = . if (VCF0722 == 0)
+replace VCF0723 = . if (VCF0723 == 0)
+replace VCF0723A = . if (VCF0723A == 0)
+replace VCF0724 = . if (VCF0724 == 0)
+replace VCF0725 = . if (VCF0725 == 0)
+replace VCF0726 = . if (VCF0726 == 0)
+replace VCF0727 = . if (VCF0727 == 0)
+replace VCF0728 = . if (VCF0728 == 0)
+replace VCF0729 = . if (VCF0729 == 0)
+replace VCF0730 = . if (VCF0730 == 0)
+replace VCF0731 = . if (VCF0731 == 8 | VCF0731 == 9)
+replace VCF0732 = . if (VCF0732 == 9)
+replace VCF0733 = . if (VCF0733 == 9)
+replace VCF0734 = . if (VCF0734 == 0)
+replace VCF0735 = . if (VCF0735 == 98 | VCF0735 == 99 | VCF0735 == 0)
+replace VCF0736 = . if (VCF0736 == 0)
+replace VCF0737 = . if (VCF0737 == 9)
+replace VCF0738 = . if (VCF0738 == 9 | VCF0738 == 0)
+replace VCF0738A = . if (VCF0738A == 9 | VCF0738A == 0)
+replace VCF0739 = . if (VCF0739 == 0)
+replace VCF0740 = . if (VCF0740 == 0)
+replace VCF0741 = . if (VCF0741 == 0)
+replace VCF0742 = . if (VCF0742 == 0)
+replace VCF0743 = . if (VCF0743 == 9)
+replace VCF0744 = . if (VCF0744 == 9)
+replace VCF0745 = . if (VCF0745 == 9)
+replace VCF0746 = . if (VCF0746 == 9)
+replace VCF0747 = . if (VCF0747 == 9)
+replace VCF0748 = . if (VCF0748 == 9)
+replace VCF0749 = . if (VCF0749 == 99)
+replace VCF0750 = . if (VCF0750 == 9)
+replace VCF0801 = . if (VCF0801 == 98 | VCF0801 == 99)
+replace VCF0803 = . if (VCF0803 == 0)
+replace VCF0804 = . if (VCF0804 == 0)
+replace VCF0805 = . if (VCF0805 == 0)
+replace VCF0806 = . if (VCF0806 == 0)
+replace VCF0808 = . if (VCF0808 == 0)
+replace VCF0809 = . if (VCF0809 == 0)
+replace VCF0811 = . if (VCF0811 == 9 | VCF0811 == 0)
+replace VCF0813 = . if (VCF0813 == 0)
+replace VCF0814 = . if (VCF0814 == 0)
+replace VCF0815 = . if (VCF0815 == 0)
+replace VCF0816 = . if (VCF0816 == 0)
+replace VCF0817 = . if (VCF0817 == 0)
+replace VCF0818 = . if (VCF0818 == 9)
+replace VCF0819 = . if (VCF0819 == 0)
+replace VCF0820 = . if (VCF0820 == 0)
+replace VCF0821 = . if (VCF0821 == 0)
+replace VCF0822 = . if (VCF0822 == 9 | VCF0822 == 0)
+replace VCF0823 = . if (VCF0823 == 0)
+replace VCF0824 = . if (VCF0824 == 9 | VCF0824 == 0)
+replace VCF0825 = . if (VCF0825 == 0)
+replace VCF0826 = . if (VCF0826 == 9 | VCF0826 == 0)
+replace VCF0827 = . if (VCF0827 == 0)
+replace VCF0827A = . if (VCF0827A == 9 | VCF0827A == 0)
+replace VCF0828 = . if (VCF0828 == 0)
+replace VCF0829 = . if (VCF0829 == 0)
+replace VCF0830 = . if (VCF0830 == 0)
+replace VCF0832 = . if (VCF0832 == 0)
+replace VCF0833 = . if (VCF0833 == 9)
+replace VCF0834 = . if (VCF0834 == 0)
+replace VCF0836 = . if (VCF0836 == 0)
+replace VCF0837 = . if (VCF0837 == 0)
+replace VCF0838 = . if (VCF0838 == 0)
+replace VCF0839 = . if (VCF0839 == 0)
+replace VCF0840 = . if (VCF0840 == 9)
+replace VCF0841 = . if (VCF0841 == 0)
+replace VCF0842 = . if (VCF0842 == 0)
+replace VCF0843 = . if (VCF0843 == 0)
+replace VCF0844 = . if (VCF0844 == 9)
+replace VCF0845 = . if (VCF0845 == 0)
+replace VCF0846 = . if (VCF0846 == 8 | VCF0846 == 0)
+replace VCF0847 = . if (VCF0847 == 8 | VCF0847 == 0)
+replace VCF0848 = . if (VCF0848 == 0)
+replace VCF0848A = . if (VCF0848A == 9)
+replace VCF0849 = . if (VCF0849 == 9 | VCF0849 == 0)
+replace VCF0850 = . if (VCF0850 == 0)
+replace VCF0851 = . if (VCF0851 == 9)
+replace VCF0852 = . if (VCF0852 == 9)
+replace VCF0853 = . if (VCF0853 == 9)
+replace VCF0854 = . if (VCF0854 == 9)
+replace VCF0860 = . if (VCF0860 == 8 | VCF0860 == 0)
+replace VCF0861 = . if (VCF0861 == 8 | VCF0861 == 0)
+replace VCF0862 = . if (VCF0862 == 8 | VCF0862 == 0)
+replace VCF0863 = . if (VCF0863 == 8 | VCF0863 == 0)
+replace VCF0864 = . if (VCF0864 == 8 | VCF0864 == 0)
+replace VCF0865 = . if (VCF0865 == 8 | VCF0865 == 0)
+replace VCF0866 = . if (VCF0866 == 8 | VCF0866 == 0)
+replace VCF0867 = . if (VCF0867 == 9)
+replace VCF0867A = . if (VCF0867A == 8 | VCF0867A == 9)
+replace VCF0870 = . if (VCF0870 == 8 | VCF0870 == 0)
+replace VCF0871 = . if (VCF0871 == 8 | VCF0871 == 9 | VCF0871 == 0)
+replace VCF0872 = . if (VCF0872 == 8 | VCF0872 == 9)
+replace VCF0873 = . if (VCF0873 == 8 | VCF0873 == 9)
+replace VCF0875 = . if (VCF0875 == 98 | VCF0875 == 99 | VCF0875 == 0)
+replace VCF0875A = . if (VCF0875A == 0)
+replace VCF0875A = . if (VCF0875A >= 991 & VCF0875A <= 999)
+replace VCF0875B = . if (VCF0875B == 0)
+replace VCF0875B = . if (VCF0875B >= 9995 & VCF0875B <= 9999)
+replace VCF0876 = . if (VCF0876 == 9)
+replace VCF0876A = . if (VCF0876A == 9)
+replace VCF0877 = . if (VCF0877 == 9)
+replace VCF0877A = . if (VCF0877A == 9)
+replace VCF0878 = . if (VCF0878 == 9)
+replace VCF0879 = . if (VCF0879 == 9)
+replace VCF0879A = . if (VCF0879A == 9)
+replace VCF0880 = . if (VCF0880 == 9 | VCF0880 == 0)
+replace VCF0880A = . if (VCF0880A == 8 | VCF0880A == 9)
+replace VCF0880B = . if (VCF0880B == 8 | VCF0880B == 9)
+replace VCF0881 = . if (VCF0881 == 9 | VCF0881 == 0)
+replace VCF0886 = . if (VCF0886 == 9)
+replace VCF0887 = . if (VCF0887 == 9)
+replace VCF0888 = . if (VCF0888 == 9)
+replace VCF0889 = . if (VCF0889 == 9)
+replace VCF0890 = . if (VCF0890 == 9)
+replace VCF0891 = . if (VCF0891 == 9)
+replace VCF0892 = . if (VCF0892 == 9)
+replace VCF0893 = . if (VCF0893 == 9)
+replace VCF0894 = . if (VCF0894 == 9)
+replace VCF0900 = . if (VCF0900 == 99 | VCF0900 == 0)
+replace VCF0900A = . if (VCF0900A == 9999)
+replace VCF0900B = . if (VCF0900B == 9999)
+replace VCF0901 = . if (VCF0901 == 99 | VCF0901 == 0)
+replace VCF0901A = . if (VCF0901A == 99 | VCF0901A == 0)
+replace VCF0902 = . if (VCF0902 == 99 | VCF0902 == 0)
+replace VCF0903 = . if (VCF0903 == 9)
+replace VCF0904 = . if (VCF0904 == 9 | VCF0904 == 0)
+replace VCF0905 = . if (VCF0905 == 9)
+replace VCF0906 = . if (VCF0906 == 990)
+replace VCF0906 = . if (VCF0906 >= 997 & VCF0906 <= 999)
+replace VCF0907 = . if (VCF0907 == 990)
+replace VCF0907 = . if (VCF0907 >= 997 & VCF0907 <= 999)
+replace VCF0908 = . if (VCF0908 == 990)
+replace VCF0908 = . if (VCF0908 >= 997 & VCF0908 <= 999)
+replace VCF0909 = . if (VCF0909 == 990)
+replace VCF0909 = . if (VCF0909 >= 997 & VCF0909 <= 999)
+replace VCF0910 = . if (VCF0910 == 9 | VCF0910 == 0)
+replace VCF0911 = . if (VCF0911 == 9 | VCF0911 == 0)
+replace VCF0912 = . if (VCF0912 == 9 | VCF0912 == 0)
+replace VCF0913 = . if (VCF0913 == 9 | VCF0913 == 0)
+replace VCF0914 = . if (VCF0914 == 9 | VCF0914 == 0)
+replace VCF0915 = . if (VCF0915 == 9 | VCF0915 == 0)
+replace VCF0916 = . if (VCF0916 == 9 | VCF0916 == 0)
+replace VCF0917 = . if (VCF0917 == 9 | VCF0917 == 0)
+replace VCF0918 = . if (VCF0918 == 9 | VCF0918 == 0)
+replace VCF0919 = . if (VCF0919 == 9 | VCF0919 == 0)
+replace VCF0920 = . if (VCF0920 == 9 | VCF0920 == 0)
+replace VCF0921 = . if (VCF0921 == 9 | VCF0921 == 0)
+replace VCF0922 = . if (VCF0922 == 9 | VCF0922 == 0)
+replace VCF0923 = . if (VCF0923 == 9 | VCF0923 == 0)
+replace VCF0924 = . if (VCF0924 == 9 | VCF0924 == 0)
+replace VCF0925 = . if (VCF0925 == 9 | VCF0925 == 0)
+replace VCF0926 = . if (VCF0926 == 9 | VCF0926 == 0)
+replace VCF0927 = . if (VCF0927 == 9 | VCF0927 == 0)
+replace VCF0928 = . if (VCF0928 == 9 | VCF0928 == 0)
+replace VCF0929 = . if (VCF0929 == 9 | VCF0929 == 0)
+replace VCF0930 = . if (VCF0930 == 9 | VCF0930 == 0)
+replace VCF0931 = . if (VCF0931 == 9 | VCF0931 == 0)
+replace VCF0932 = . if (VCF0932 == 9 | VCF0932 == 0)
+replace VCF0933 = . if (VCF0933 == 9 | VCF0933 == 0)
+replace VCF0934 = . if (VCF0934 == 9 | VCF0934 == 0)
+replace VCF0935 = . if (VCF0935 == 9 | VCF0935 == 0)
+replace VCF0936 = . if (VCF0936 == 9 | VCF0936 == 0)
+replace VCF0937 = . if (VCF0937 == 9 | VCF0937 == 0)
+replace VCF0938 = . if (VCF0938 == 9 | VCF0938 == 0)
+replace VCF0939 = . if (VCF0939 == 9 | VCF0939 == 0)
+replace VCF0940 = . if (VCF0940 == 9 | VCF0940 == 0)
+replace VCF0941 = . if (VCF0941 == 9 | VCF0941 == 0)
+replace VCF0942 = . if (VCF0942 == 9 | VCF0942 == 0)
+replace VCF0943 = . if (VCF0943 == 9 | VCF0943 == 0)
+replace VCF0944 = . if (VCF0944 == 9 | VCF0944 == 0)
+replace VCF0945 = . if (VCF0945 == 9 | VCF0945 == 0)
+replace VCF0946 = . if (VCF0946 == 8 | VCF0946 == 9)
+replace VCF0946A = . if (VCF0946A == 0)
+replace VCF0947 = . if (VCF0947 == 8 | VCF0947 == 9)
+replace VCF0947A = . if (VCF0947A == 0)
+replace VCF0948 = . if (VCF0948 == 8 | VCF0948 == 9)
+replace VCF0948A = . if (VCF0948A == 0)
+replace VCF0949 = . if (VCF0949 == 8 | VCF0949 == 9)
+replace VCF0949A = . if (VCF0949A == 0)
+replace VCF0950 = . if (VCF0950 == 9 | VCF0950 == 0)
+replace VCF0951 = . if (VCF0951 == 9 | VCF0951 == 0)
+replace VCF0952 = . if (VCF0952 == 9 | VCF0952 == 0)
+replace VCF0953 = . if (VCF0953 == 9 | VCF0953 == 0)
+replace VCF0954 = . if (VCF0954 == 9 | VCF0954 == 0)
+replace VCF0955 = . if (VCF0955 == 9 | VCF0955 == 0)
+replace VCF0956 = . if (VCF0956 == 9 | VCF0956 == 0)
+replace VCF0957 = . if (VCF0957 == 9 | VCF0957 == 0)
+replace VCF0958 = . if (VCF0958 == 9 | VCF0958 == 0)
+replace VCF0959 = . if (VCF0959 == 9 | VCF0959 == 0)
+replace VCF0960 = . if (VCF0960 == 9 | VCF0960 == 0)
+replace VCF0961 = . if (VCF0961 == 9 | VCF0961 == 0)
+replace VCF0962 = . if (VCF0962 == 9 | VCF0962 == 0)
+replace VCF0963 = . if (VCF0963 == 9 | VCF0963 == 0)
+replace VCF0964 = . if (VCF0964 == 9 | VCF0964 == 0)
+replace VCF0965 = . if (VCF0965 == 9 | VCF0965 == 0)
+replace VCF0966 = . if (VCF0966 == 9 | VCF0966 == 0)
+replace VCF0967 = . if (VCF0967 == 9 | VCF0967 == 0)
+replace VCF0968 = . if (VCF0968 == 9 | VCF0968 == 0)
+replace VCF0969 = . if (VCF0969 == 9 | VCF0969 == 0)
+replace VCF0970 = . if (VCF0970 == 9 | VCF0970 == 0)
+replace VCF0971 = . if (VCF0971 == 9 | VCF0971 == 0)
+replace VCF0972 = . if (VCF0972 == 9)
+replace VCF0973 = . if (VCF0973 == 9)
+replace VCF0974 = . if (VCF0974 == 9)
+replace VCF0975 = . if (VCF0975 == 9)
+replace VCF0976 = . if (VCF0976 == 99)
+replace VCF0977 = . if (VCF0977 == 9)
+replace VCF0978 = . if (VCF0978 == 9)
+replace VCF0980 = . if (VCF0980 >= 6 & VCF0980 <= 9)
+replace VCF0981 = . if (VCF0981 >= 6 & VCF0981 <= 9)
+replace VCF0982 = . if (VCF0982 == 99)
+replace VCF0983 = . if (VCF0983 == 99)
+replace VCF0984 = . if (VCF0984 >= 6 & VCF0984 <= 9)
+replace VCF0985 = . if (VCF0985 >= 6 & VCF0985 <= 9)
+replace VCF0986 = . if (VCF0986 == 99)
+replace VCF0987 = . if (VCF0987 == 99)
+replace VCF0988 = . if (VCF0988 == 999)
+replace VCF0989 = . if (VCF0989 == 99)
+replace VCF0990 = . if (VCF0990 == 999)
+replace VCF0991 = . if (VCF0991 == 9 | VCF0991 == 0)
+replace VCF0992 = . if (VCF0992 == 9)
+replace VCF0993 = . if (VCF0993 >= 6 & VCF0993 <= 9)
+replace VCF0994 = . if (VCF0994 >= 6 & VCF0994 <= 9)
+replace VCF0995 = . if (VCF0995 == 99)
+replace VCF0996 = . if (VCF0996 == 99)
+replace VCF0997 = . if (VCF0997 >= 6 & VCF0997 <= 9)
+replace VCF0998 = . if (VCF0998 >= 6 & VCF0998 <= 9)
+replace VCF0999 = . if (VCF0999 == 99)
+replace VCF1000 = . if (VCF1000 == 99)
+replace VCF1001 = . if (VCF1001 == 999)
+replace VCF1002 = . if (VCF1002 == 99)
+replace VCF1003 = . if (VCF1003 == 999)
+replace VCF1004 = . if (VCF1004 == 9)
+replace VCF1005 = . if (VCF1005 == 9)
+replace VCF1006 = . if (VCF1006 == 97 | VCF1006 == 99)
+replace VCF1007 = . if (VCF1007 == 97 | VCF1007 == 99)
+replace VCF1008 = . if (VCF1008 == 97 | VCF1008 == 99)
+replace VCF1009 = . if (VCF1009 == 9)
+replace VCF1010 = . if (VCF1010 == 9)
+replace VCF1011 = . if (VCF1011 == 9)
+replace VCF1012 = . if (VCF1012 == 9)
+replace VCF1013 = . if (VCF1013 == 9)
+replace VCF1014 = . if (VCF1014 == 9)
+replace VCF1015 = . if (VCF1015 == 99)
+replace VCF1016 = . if (VCF1016 == 99)
+replace VCF1017 = . if (VCF1017 == 998 | VCF1017 == 999)
+replace VCF1018 = . if (VCF1018 == 998 | VCF1018 == 999)
+replace VCF1020 = . if (VCF1020 == 8 | VCF1020 == 9)
+replace VCF1021A = . if (VCF1021A == 8888 | VCF1021A == 8889)
+replace VCF1021B = . if (VCF1021B == 88 | VCF1021B == 89)
+replace VCF1026 = . if (VCF1026 == 8 | VCF1026 == 9)
+replace VCF1027A = . if (VCF1027A == 8888 | VCF1027A == 8889)
+replace VCF1027B = . if (VCF1027B == 88 | VCF1027B == 89)
+replace VCF1032 = . if (VCF1032 == 8 | VCF1032 == 9)
+replace VCF1033A = . if (VCF1033A == 8888 | VCF1033A == 8889)
+replace VCF1033B = . if (VCF1033B == 88 | VCF1033B == 89)
+replace VCF1038 = . if (VCF1038 == 8 | VCF1038 == 9)
+replace VCF1039A = . if (VCF1039A == 8888 | VCF1039A == 8889)
+replace VCF1039B = . if (VCF1039B == 88 | VCF1039B == 89)
+replace VCF9001 = . if (VCF9001 == 99)
+replace VCF9002 = . if (VCF9002 == 9 | VCF9002 == 0)
+replace VCF9003 = . if (VCF9003 == 98 | VCF9003 == 99)
+replace VCF9004 = . if (VCF9004 == 98 | VCF9004 == 99)
+replace VCF9005 = . if (VCF9005 == 98 | VCF9005 == 99)
+replace VCF9006 = . if (VCF9006 == 98 | VCF9006 == 99)
+replace VCF9007 = . if (VCF9007 == 98 | VCF9007 == 99)
+replace VCF9008 = . if (VCF9008 == 9)
+replace VCF9009 = . if (VCF9009 == 9)
+replace VCF9010 = . if (VCF9010 == 9)
+replace VCF9011 = . if (VCF9011 == 9)
+replace VCF9012 = . if (VCF9012 == 9 | VCF9012 == 0)
+replace VCF9013 = . if (VCF9013 == 9)
+replace VCF9014 = . if (VCF9014 == 9)
+replace VCF9015 = . if (VCF9015 == 9)
+replace VCF9016 = . if (VCF9016 == 9)
+replace VCF9017 = . if (VCF9017 == 9)
+replace VCF9018 = . if (VCF9018 == 9)
+replace VCF9019 = . if (VCF9019 == 8 | VCF9019 == 9)
+replace VCF9020 = . if (VCF9020 == 8 | VCF9020 == 9)
+replace VCF9021 = . if (VCF9021 == 8 | VCF9021 == 9)
+replace VCF9022 = . if (VCF9022 == 8 | VCF9022 == 9 | VCF9022 == 0)
+replace VCF9023 = . if (VCF9023 == 9 | VCF9023 == 0)
+replace VCF9024 = . if (VCF9024 == 8 | VCF9024 == 9 | VCF9024 == 0)
+replace VCF9025 = . if (VCF9025 == 9 | VCF9025 == 0)
+replace VCF9026 = . if (VCF9026 == 9)
+replace VCF9027 = . if (VCF9027 == 9 | VCF9027 == 0)
+replace VCF9028 = . if (VCF9028 == 9)
+replace VCF9029 = . if (VCF9029 == 9)
+replace VCF9030 = . if (VCF9030 == 8 | VCF9030 == 9)
+replace VCF9030A = . if (VCF9030A == 8 | VCF9030A == 9)
+replace VCF9030B = . if (VCF9030B == 8 | VCF9030B == 9)
+replace VCF9030C = . if (VCF9030C == 8 | VCF9030C == 9)
+replace VCF9031 = . if (VCF9031 == 8 | VCF9031 == 9)
+replace VCF9032 = . if (VCF9032 == 8 | VCF9032 == 9)
+replace VCF9033 = . if (VCF9033 == 8 | VCF9033 == 9)
+replace VCF9034 = . if (VCF9034 == 8 | VCF9034 == 9)
+replace VCF9035 = . if (VCF9035 == 8 | VCF9035 == 9)
+replace VCF9036 = . if (VCF9036 == 9)
+replace VCF9037 = . if (VCF9037 == 0)
+replace VCF9038 = . if (VCF9038 == 9)
+replace VCF9039 = . if (VCF9039 == 9)
+replace VCF9040 = . if (VCF9040 == 9)
+replace VCF9041 = . if (VCF9041 == 9)
+replace VCF9042 = . if (VCF9042 == 9)
+replace VCF9043 = . if (VCF9043 == 0)
+replace VCF9043A = . if (VCF9043A == 8 | VCF9043A == 9)
+replace VCF9044 = . if (VCF9044 == 8 | VCF9044 == 9)
+replace VCF9044A = . if (VCF9044A == 9)
+replace VCF9045 = . if (VCF9045 == 9)
+replace VCF9046 = . if (VCF9046 == 9)
+replace VCF9047 = . if (VCF9047 == 9)
+replace VCF9048 = . if (VCF9048 == 9)
+replace VCF9049 = . if (VCF9049 == 9)
+replace VCF9050 = . if (VCF9050 == 9)
+replace VCF9051 = . if (VCF9051 == 9)
+replace VCF9052 = . if (VCF9052 == 8 | VCF9052 == 9)
+replace VCF9053 = . if (VCF9053 == 8 | VCF9053 == 9)
+replace VCF9054 = . if (VCF9054 == 9)
+replace VCF9055 = . if (VCF9055 == 0)
+replace VCF9056 = . if (VCF9056 == 990)
+replace VCF9056 = . if (VCF9056 >= 996 & VCF9056 <= 999)
+replace VCF9057 = . if (VCF9057 == 990)
+replace VCF9057 = . if (VCF9057 >= 996 & VCF9057 <= 999)
+replace VCF9058 = . if (VCF9058 == 990)
+replace VCF9058 = . if (VCF9058 >= 996 & VCF9058 <= 999)
+replace VCF9059 = . if (VCF9059 == 990)
+replace VCF9059 = . if (VCF9059 >= 996 & VCF9059 <= 999)
+replace VCF9060 = . if (VCF9060 >= 996 & VCF9060 <= 999)
+replace VCF9061 = . if (VCF9061 >= 996 & VCF9061 <= 999)
+replace VCF9062 = . if (VCF9062 >= 996 & VCF9062 <= 999)
+replace VCF9063 = . if (VCF9063 == 9 | VCF9063 == 0)
+replace VCF9064 = . if (VCF9064 == 9 | VCF9064 == 0)
+replace VCF9065 = . if (VCF9065 == 9 | VCF9065 == 0)
+replace VCF9066 = . if (VCF9066 == 9 | VCF9066 == 0)
+replace VCF9067 = . if (VCF9067 == 97 | VCF9067 == 99)
+replace VCF9069 = . if (VCF9069 == 9 | VCF9069 == 0)
+replace VCF9070 = . if (VCF9070 == 8 | VCF9070 == 9 | VCF9070 == 0)
+replace VCF9071 = . if (VCF9071 == 8 | VCF9071 == 9 | VCF9071 == 0)
+replace VCF9072 = . if (VCF9072 == 8 | VCF9072 == 9 | VCF9072 == 0)
+replace VCF9073 = . if (VCF9073 == 8 | VCF9073 == 9 | VCF9073 == 0)
+replace VCF9074 = . if (VCF9074 == 8 | VCF9074 == 9 | VCF9074 == 0)
+replace VCF9075 = . if (VCF9075 == 8 | VCF9075 == 9 | VCF9075 == 0)
+replace VCF9076 = . if (VCF9076 == 8 | VCF9076 == 9 | VCF9076 == 0)
+replace VCF9077 = . if (VCF9077 == 8 | VCF9077 == 9 | VCF9077 == 0)
+replace VCF9078 = . if (VCF9078 == 8 | VCF9078 == 9 | VCF9078 == 0)
+replace VCF9079 = . if (VCF9079 == 8 | VCF9079 == 9 | VCF9079 == 0)
+replace VCF9080 = . if (VCF9080 == 8 | VCF9080 == 9 | VCF9080 == 0)
+replace VCF9081 = . if (VCF9081 == 8 | VCF9081 == 9 | VCF9081 == 0)
+replace VCF9082 = . if (VCF9082 == 8 | VCF9082 == 9)
+replace VCF9083 = . if (VCF9083 == 8 | VCF9083 == 9 | VCF9083 == 0)
+replace VCF9084 = . if (VCF9084 == 8 | VCF9084 == 9 | VCF9084 == 0)
+replace VCF9085 = . if (VCF9085 == 8 | VCF9085 == 9 | VCF9085 == 0)
+replace VCF9086 = . if (VCF9086 == 8 | VCF9086 == 9 | VCF9086 == 0)
+replace VCF9087 = . if (VCF9087 == 8 | VCF9087 == 9 | VCF9087 == 0)
+replace VCF9088 = . if (VCF9088 == 8 | VCF9088 == 9 | VCF9088 == 0)
+replace VCF9089 = . if (VCF9089 == 8 | VCF9089 == 9 | VCF9089 == 0)
+replace VCF9090 = . if (VCF9090 == 8 | VCF9090 == 9 | VCF9090 == 0)
+replace VCF9091 = . if (VCF9091 == 8 | VCF9091 == 9 | VCF9091 == 0)
+replace VCF9092 = . if (VCF9092 == 8 | VCF9092 == 9 | VCF9092 == 0)
+replace VCF9093 = . if (VCF9093 == 8 | VCF9093 == 9 | VCF9093 == 0)
+replace VCF9094 = . if (VCF9094 == 8 | VCF9094 == 9 | VCF9094 == 0)
+replace VCF9095 = . if (VCF9095 == 8 | VCF9095 == 9 | VCF9095 == 0)
+replace VCF9096 = . if (VCF9096 == 8 | VCF9096 == 9 | VCF9096 == 0)
+replace VCF9097 = . if (VCF9097 == 8 | VCF9097 == 9 | VCF9097 == 0)
+replace VCF9098 = . if (VCF9098 == 8 | VCF9098 == 9 | VCF9098 == 0)
+replace VCF9099 = . if (VCF9099 == 8 | VCF9099 == 9 | VCF9099 == 0)
+replace VCF9100 = . if (VCF9100 == 8 | VCF9100 == 9 | VCF9100 == 0)
+replace VCF9101 = . if (VCF9101 == 8 | VCF9101 == 9 | VCF9101 == 0)
+replace VCF9102 = . if (VCF9102 == 8 | VCF9102 == 9 | VCF9102 == 0)
+replace VCF9103 = . if (VCF9103 == 8 | VCF9103 == 9 | VCF9103 == 0)
+replace VCF9104 = . if (VCF9104 == 8 | VCF9104 == 9 | VCF9104 == 0)
+replace VCF9105 = . if (VCF9105 == 8 | VCF9105 == 9 | VCF9105 == 0)
+replace VCF9106 = . if (VCF9106 == 8 | VCF9106 == 9 | VCF9106 == 0)
+replace VCF9107 = . if (VCF9107 == 8 | VCF9107 == 9 | VCF9107 == 0)
+replace VCF9108 = . if (VCF9108 == 8 | VCF9108 == 9 | VCF9108 == 0)
+replace VCF9109 = . if (VCF9109 == 8 | VCF9109 == 9 | VCF9109 == 0)
+replace VCF9110 = . if (VCF9110 == 8 | VCF9110 == 9 | VCF9110 == 0)
+replace VCF9111 = . if (VCF9111 == 8 | VCF9111 == 9 | VCF9111 == 0)
+replace VCF9112 = . if (VCF9112 == 8 | VCF9112 == 9 | VCF9112 == 0)
+replace VCF9113 = . if (VCF9113 == 8 | VCF9113 == 9 | VCF9113 == 0)
+replace VCF9114 = . if (VCF9114 == 8 | VCF9114 == 9 | VCF9114 == 0)
+replace VCF9115 = . if (VCF9115 == 8 | VCF9115 == 9 | VCF9115 == 0)
+replace VCF9116 = . if (VCF9116 == 8 | VCF9116 == 9 | VCF9116 == 0)
+replace VCF9117 = . if (VCF9117 == 8 | VCF9117 == 9 | VCF9117 == 0)
+replace VCF9118 = . if (VCF9118 == 8 | VCF9118 == 9 | VCF9118 == 0)
+replace VCF9119 = . if (VCF9119 == 8 | VCF9119 == 9 | VCF9119 == 0)
+replace VCF9120 = . if (VCF9120 == 8 | VCF9120 == 9 | VCF9120 == 0)
+replace VCF9121 = . if (VCF9121 == 8 | VCF9121 == 9 | VCF9121 == 0)
+replace VCF9122 = . if (VCF9122 == 9)
+replace VCF9123 = . if (VCF9123 == 99)
+replace VCF9124 = . if (VCF9124 == 99)
+replace VCF9125 = . if (VCF9125 == 9)
+replace VCF9131 = . if (VCF9131 == 9)
+replace VCF9132 = . if (VCF9132 == 9)
+replace VCF9133 = . if (VCF9133 == 9)
+replace VCF9134 = . if (VCF9134 == 9)
+replace VCF9149 = . if (VCF9149 == 998 | VCF9149 == 0)
+replace VCF9150 = . if (VCF9150 == 0)
+replace VCF9151 = . if (VCF9151 == 8 | VCF9151 == 9 | VCF9151 == 0)
+replace VCF9152 = . if (VCF9152 == 0)
+replace VCF9153 = . if (VCF9153 == 8 | VCF9153 == 9 | VCF9153 == 0)
+replace VCF9154 = . if (VCF9154 == 8 | VCF9154 == 9 | VCF9154 == 0)
+replace VCF9155 = . if (VCF9155 == 9 | VCF9155 == 0)
+
+
A => data/anes/README.md +27 -0
@@ 1,27 @@
+File origins.
+
+## sub-data.txt
+
+Sourced from ANES 2004 cumulative data file.
+Raw data in delimited format.
+
+## sub-stata.txt
+
+Sourced from ANES 2004 cumulative data file.
+Supplemental data preparation that is appropriate only for Stata.
+
+## 08475-0001-Data.dta
+
+Sourced from ANES 2012 cumulative data file.
+Data prepared in Stata format.
+
+## 08475-0001-Supplemental_syntax.do
+
+Sourced from ANES 2012 cumulative data file.
+Supplemental data preparation that is appropriate only for Stata.
+
+## anes_timeseries_cdf_stata_20220916.dta
+
+Sourced from ANES 2020 cumulative data file.
+Data prepared in Stata format.
+
A => data/anes/sub-stata.txt +153 -0
@@ 1,153 @@
+*******************************************************************
+* Stata "do-file" file with labels and missing data specifications
+* Created by ddltox on Nov 15, 2024 (Fri 10:03 AM PST)
+* DDL source file: "/var/www/sda/tmpdir/ddl3640268546116940221.txt".
+*
+* Note that the data dictionary is given at the end of this file.
+* Put the dictionary into a separate file (by editing this file).
+* Then specify below the name of the dictionary file.
+*
+* DDL file gives the following dataset description:
+* Records per case: 1
+* Record length: 130
+*******************************************************************
+
+
+label data "American National Election Study 1948-2004 - Cumulative"
+
+#delimit ;
+label define VCF0140A 1 "8 grades or less ('grade school')"
+ 2 "9-12 grades ('high school'), no diploma/equivalency"
+ 3 "12 grades, diploma or equivalency"
+ 4 "12 grades, diploma or equivalency, plus non-academic"
+ 5 "Some college, no degree;junior/community college level"
+ 6 "BA level degree" 7 "Advanced degrees incl. LLB"
+ 8 "DK" 9 "NA;no Pre IW;short-form 'new' Cross Section" ;
+label define VCF0302 1 "Republican" 2 "Independent"
+ 3 "No preference;none;neither" 4 "Other" 5 "Democrat"
+ 8 "DK" 9 "NA;refused" ;
+label define VCF0702 0 "DK;NA;no Post IW;refused to say if voted;"
+ 1 "No, did not vote" 2 "Yes, voted" ;
+label define VCF0717 0 "DK;NA;no Post IW;form III,IV (1972);abbrev." 1 "No"
+ 2 "Yes" ;
+label define VCF0718 0 "DK;NA;no Post IW;form III,IV (1972);abbrev." 1 "No"
+ 2 "Yes" ;
+label define VCF0719 0 "DK;NA;no Post IW;form III,IV (1972);abbrev." 1 "No"
+ 2 "Yes" ;
+label define VCF0720 0 "DK;NA;no Post IW;form III,IV (1972);abbrev." 1 "No"
+ 2 "Yes" ;
+label define VCF0721 0 "DK;NA;no Post IW;form III,IV (1972);abbrev."
+ 1 "No (includes 'not asked for money' in 1966,1968)"
+ 2 "Yes (includes 'tax check-off' in 1976)" ;
+label define VCF0803
+ 0 "NA;no Post IW;form III,IV (1972);R not administered"
+ 1 "Extremely liberal" 2 "Liberal" 3 "Slightly liberal"
+ 4 "Moderate, middle of the road"
+ 5 "Slightly conservative" 6 "Conservative"
+ 7 "Extremely conservative"
+ 9 "DK;haven't thought much about it" ;
+label define VCF0806
+ 0 "NA;form II (1972);no Post IW;telephone IW (1984: see"
+ 1 "Government insurance plan"
+ 7 "Private insurance plan"
+ 9 "DK;haven't thought much about it" ;
+label define VCF0809 0 "NA;no Post IW;form A (1986);telephone IW (2000)"
+ 1 "Government see to job and good standard of living"
+ 7 "Government let each person get ahead on his own"
+ 9 "DK;haven't thought much about it" ;
+label define VCF0830 0 "NA;telephone IW (2000);no Post IW"
+ 1 "Government should help minority groups/blacks"
+ 7 "Minority groups/blacks should help themselves"
+ 9 "DK;haven't thought much about it" ;
+label define VCF0838 0 "NA;no Post IW"
+ 1 "By law, abortion should never be permitted"
+ 2 "The law should permit abortion only in case of rape,"
+ 3 "The law should permit abortion for reasons other than"
+ 4 "By law, a woman should always be able to obtain an"
+ 9 "DK;other" ;
+label define VCF0839 0 "NA;telephone IW (2000)"
+ 1 "Government should provide many fewer services: reduce"
+ 7 "Government should provide many more services: increase"
+ 9 "DK;haven't thought much about it" ;
+label define VCF0843 0 "NA;telephone IW (2000)"
+ 1 "Greatly decrease defense spending"
+ 7 "Greatly increase defense spending"
+ 9 "DK;haven't thought much about it" ;
+
+
+#delimit cr
+
+*******************************************************************
+infile using X
+* Replace 'X' with the name of the dictionary file.
+*
+* The contents of the dictionary are given at the end of this file.
+* Put the dictionary into a separate file (by editing this file).
+* Then specify here the name of the dictionary file.
+*******************************************************************
+* The md, min and max specifications were translated
+* into the following "REPLACE...IF" statements:
+
+replace VCF0140A = . if (VCF0140A == 0)
+replace VCF0140A = . if (VCF0140A >= 8 )
+replace VCF0302 = . if (VCF0302 == 8)
+replace VCF0302 = . if (VCF0302 >= 9 )
+replace VCF0702 = . if (VCF0702 == 0)
+replace VCF0717 = . if (VCF0717 == 0)
+replace VCF0718 = . if (VCF0718 == 0)
+replace VCF0719 = . if (VCF0719 == 0)
+replace VCF0720 = . if (VCF0720 == 0)
+replace VCF0721 = . if (VCF0721 == 0)
+replace VCF0803 = . if (VCF0803 == 0)
+replace VCF0806 = . if (VCF0806 == 0)
+replace VCF0809 = . if (VCF0809 == 0)
+replace VCF0830 = . if (VCF0830 == 0)
+replace VCF0838 = . if (VCF0838 == 0)
+replace VCF0839 = . if (VCF0839 == 0)
+replace VCF0843 = . if (VCF0843 == 0)
+
+
+dictionary using Y {
+*****************************************************************
+* Replace 'Y' with the name of the data file.
+* The default suffix is '.raw'.
+*
+* Put this dictionary into a separate file (with the suffix .dct).
+* (The first line of the dictionary file must contain the
+* 'dictionary' command.)
+*
+* Then edit the name of that dictionary file into the 'do-file'
+* portion of the STATA definitions.
+*******************************************************************
+* Records per case:
+_lines(1)
+
+_line(1)
+
+_column(1) long CASEID %8f "Case ID"
+_column(11) str28 VERSION %28s "ANES Version Number"
+_column(41) int VCF0004 %4f "Year of Study"
+_column(46) int VCF0006 %4f "Study Respondent Number"
+_column(51) long VCF0006A %8f "Unique Respondent Number"
+_column(60) float VCF0009 %6.4f "Type 0 General Weight Variable"
+_column(67) float VCF0009A %6.4f "Type 0 Weight - Post-Stratified Pre"
+_column(74) float VCF0010 %6.4f "Type 1 General Weight Variable"
+_column(81) float VCF0010A %6.4f "Type 1 Weight - Post-stratified Pre"
+_column(88) float VCF0011 %6.4f "Type 2 General Weight Variable"
+_column(95) float VCF0011A %6.4f "Type 2 Weight - Post-Stratified Pre"
+_column(102) int VCF0140A :VCF0140A %1f "R Education 7-category"
+_column(104) int VCF0302 :VCF0302 %1f "Initial Party ID Response"
+_column(106) int VCF0702 :VCF0702 %1f "Did R Vote in Election"
+_column(108) int VCF0717 :VCF0717 %1f "Did R Try to Influence Others Vote"
+_column(110) int VCF0718 :VCF0718 %1f "Did R Attend Political Meetings"
+_column(112) int VCF0719 :VCF0719 %1f "Did R Work for Party or Candidate"
+_column(114) int VCF0720 :VCF0720 %1f "Did R Display Candidate Button/Stic"
+_column(116) int VCF0721 :VCF0721 %1f "Did R Donate Money to Party/Candida"
+_column(118) int VCF0803 :VCF0803 %1f "Liberal-Conservative 7pt Scale"
+_column(120) int VCF0806 :VCF0806 %1f "R Position 7pt Govt Health Insuranc"
+_column(122) int VCF0809 :VCF0809 %1f "R Position 7pt Govt Guaranteed Jobs"
+_column(124) int VCF0830 :VCF0830 %1f "R Position 7pt Aid to Blacks Scale"
+_column(126) int VCF0838 :VCF0838 %1f "When Should Abortion Be Allowed by"
+_column(128) int VCF0839 :VCF0839 %1f "R Position 7pt Govt Services/Spendi"
+_column(130) int VCF0843 :VCF0843 %1f "R Position 7pt Defense Spending Sca"
+}