Open the American National Election Studies in your browser
The ANES Time Series interviews U.S. eligible voters before and after each presidential election, and is the standard source on party identification and voting. This site does not host ANES data. Download the file from the publisher and drop it below: it opens with the survey weight applied, a starter table and ready-made groups. The file is read in your browser and is never uploaded.
Two steps
1. Download the file from American National Election Studies (University of Michigan and Stanford University)
Open the 2024 or 2020 Time Series Study and pick the SPSS (.sav) or Stata (.dta) file. Drop it here, or the .zip it comes in. Do not pick the Time Series Cumulative Data File: with 73,745 respondents and more than 1,000 variables it is over the 20 million cells this site imports.
ANES asks you to sign in and accept its terms before a download.
2. Drop it here
A file that is not recognised as the ANES still opens, as an ordinary file with no setup applied.
What you get
The setup for the 2024 Time Series Study
Weight. Applied as a sampling weight: V240107a. Full-sample pre-election weight. ANES says to use it when every variable in the table is from the pre-election interview, as the starter table's are. For a table with any post-election variable, switch to V240107b. If the file has no V240107a: V240107b. Full-sample post-election weight, for tables that use any post-election variable.
Starter table. PARTY3 by AGE_GROUP, weighted. Change either variable once it opens.
Groups. Each is a new variable recoded from one in the file; the original is left as it is, and codes outside the bands (refused, don't know, not asked) stay missing. Each is listed as a Transform step and can be removed.
| New variable | From | Groups (source codes) |
|---|---|---|
PARTY3Party identification, 3 groups | V241227x | Democrat, including leaners (1 to 3); Independent (4); Republican, including leaners (5 to 7) |
EDUC_GROUPEducation, 3 groups | V241465x | High school or less (1 to 2); Some college, no bachelor's degree (3); Bachelor's degree or higher (4 to 5) |
AGE_GROUPAge group | V241458x | 18 to 29 (18 to 29); 30 to 44 (30 to 44); 45 to 64 (45 to 64); 65 and over (65 to 120) |
Recognised by variable name, in upper or lower case: the file must have V240001, and at least 6 of V240107a, V240107b, V240107c, V240107d, V241227x, V241458x, V241465x, V240002a, V240003, V241550, V241501x, V241177.
The setup for the 2020 Time Series Study
Weight. Applied as a sampling weight: V200010a. Full-sample pre-election weight. ANES says to use it when every variable in the table is from the pre-election interview, as the starter table's are. For a table with any post-election variable, switch to V200010b. If the file has no V200010a: V200010b. Full-sample post-election weight, for tables that use any post-election variable.
Starter table. PARTY3 by AGE_GROUP, weighted. Change either variable once it opens.
Groups. Each is a new variable recoded from one in the file; the original is left as it is, and codes outside the bands (refused, don't know, not asked) stay missing. Each is listed as a Transform step and can be removed.
| New variable | From | Groups (source codes) |
|---|---|---|
PARTY3Party identification, 3 groups | V201231x | Democrat, including leaners (1 to 3); Independent (4); Republican, including leaners (5 to 7) |
EDUC_GROUPEducation, 3 groups | V201511x | High school or less (1 to 2); Some college, no bachelor's degree (3); Bachelor's degree or higher (4 to 5) |
AGE_GROUPAge group | V201507x | 18 to 29 (18 to 29); 30 to 44 (30 to 44); 45 to 64 (45 to 64); 65 and over (65 to 120) |
Recognised by variable name, in upper or lower case: the file must have V200001, and at least 6 of V200010a, V200010b, V200010c, V200010d, V201231x, V201507x, V201511x, V201600.
Source and terms
How far this setup has been checked
Built from the ANES 2024 (August 8, 2025 version) and 2020 (July 19, 2021 version) user guides and codebooks, and checked with made-up files that carry the documented variable names and codes. Not yet checked with a real ANES download, which needs an account; a later re-release may differ.
Why the file is not hosted here
ANES files are released to people who register and accept its terms of use, so the file has to come from ANES. Read the publisher's terms.
How to cite the ANES
Cite the release you downloaded. The citation is added to the import notice when the file opens.
American National Election Studies. 2025. ANES 2024 Time Series Study Full Release [dataset and documentation]. August 8, 2025 version. www.electionstudies.org
American National Election Studies. 2021. ANES 2020 Time Series Study Full Release [dataset and documentation]. July 19, 2021 version. www.electionstudies.org