Download a map’s codes
Each map has an Excel file that lists its regions and their codes. You can get it in two places:- Geographies page: open Geographies, choose a geography, and download the region data of the map you need.
- Data Provider Panel: open Maps, click the menu (⋮) on the map, choose View Geography Regions, then Export.
What you can use
The map code is the most reliable choice: it points at exactly one region. A few names are shared by two regions of a map. VoxDash then asks you which one you mean, or takes the region that shows that name on the map.
A signed-in download can also list names saved by your other organizations. Those don’t apply to this data project.
A country code in a state or province row, such as
US on a map of US states, identifies the country and not that row, so it isn’t matched there.
How to put codes in your file
- Use a numeric variable with value labels. VoxDash matches the label text, or the number behind it. The variable needs value labels.
- Text variables work differently. VoxDash matches the stored text itself, not its label, so the text must be one of the codes or names.
- Write the code exactly. Capital letters and spaces count:
US-CAmatches,us-cadoesn’t. - Keep the zeros of three-digit codes. For American Samoa, write
016as the label; the number16doesn’t match it.
Map_United_States_of_America. See Preparing Your SPSS File for VoxDash.
When a value isn’t matched
VoxDash lists the unmatched values and asks you to choose the region, or “Don’t Map” for answers that aren’t places. This happens when:- the value is spelled differently from every code and name of the map;
- the value fits more than one region of the map;
- it is an ISO 3166-2 code of a region that has two codes, such as a province combined with the city of the same name. Use its name or map code instead.