Navigating Politics: Data Formatting

image
Author: Ian Dawes
Created: 26 Jul, 2012
Updated: 13 Oct, 2022
2 min read
Source: Siniroluyoruz.biz

Data Formatting:

Once you have found the data that you are looking for, downloading from a compatible source for the data formatting and analysis being performed can be challenging. This will save you a lot of trouble. Yes PDFs are convenient, but a raw file format like .xls (MS excel) or .csv (comma separated values) will save you a lot of trouble when trying to sort statistics and generating presentations during the data formatting process.

The Shapefile (.shp) format for cartographic design are great sources for already formatted datasets. Each shapefile consists of five base files, one of which is a database (.dbf) file. You can download any shapefile, open it up, to reveal a list of files. The .dbf will run in any database application like Microsoft Excel or Access. Having a .dbf file makes the method by which you complete your data formatting and how long you need to spend arranging cells into columns and rows go quicker.

Probably the most tedious task once you have the information is data formatting the records of information for analytic use. If the records in your data table are circularly referenced, a few hours of reconstituting the original method of organization is in order. Each attribute of every data record should be in its own attribute column. For example, sorting a column in a spreadsheet that contains both a candidate’s name and party affiliation can lead to troubles; there should be an attribute column each for , , and another for .

For larger datasets, learning a little bit of query and selection language (SQL, Visual Basic, Python) would be beneficial. Hiring a data formatting professional temporarily that already knows MS sql is well worth it for reformatting or creating subsets of information from the original larger dataset.

One last thing on this note:

Often you have multiple sets of data and need them all together. The best way to merge datasets is based on a common field using a databasing tool application like Microsoft SQL Studio. Each set of data should have a common attribute like “name” that you can use to append one set to the other.

Next to come: Visualizing Data

Latest articles

I voted stickers
In Oakland, Barbara Lee's RCV Strategy Seen as Critical to Mayoral Victory
In a dramatic shift following the April 15 special mayoral election in Oakland, former U.S. Representative Barbara Lee has been declared the winner, pulling into a commanding lead over former Councilmember Loren Taylor, as vote counting continues....
18 Apr, 2025
-
2 min read
Bernie Sanders
Sanders and AOC Wrap 'Fighting Oligarchy' Tour and Bernie Takes the Mic at Coachella
US Senator Bernie Sanders and Rep. Alexandria Ocasio-Cortez wrapped up their Fighting Oligarchy Tour on April 16, after a five-day, seven-stop sweep through the West that drew nearly 150,000 people—capping it off with an unexpected appearance by Sanders at the Coachella music festival....
18 Apr, 2025
-
3 min read
AOC
Is Bernie Passing the Torch to AOC for the 2028 Presidential Election?
US Rep. Alexandria Ocasio-Cortez (AOC) continues to make waves in US politics. She is co-headlining rallies across the country with US Sen. Bernie Sanders as part of the "Fighting Oligarchy Tour," which has drawn large crowds even in GOP strongholds....
17 Apr, 2025
-
4 min read