I have a .csv file that has unique identifiers that I'd like to join with some legislative district shapefiles in QGIS. I've done this before, and the joins all worked fine -- and technically it still works if I memorize the order of the columns, though when I upload the .csv using "Add Vector Layer" like normal -- my .csv gets imported properly, except my headers are all in as the first row and the headers are all "field_1," "field_2," etc.
Converting the file to .dbf in OpenOffice and I attempted converting the line breaks by using this in Terminal:
tr '\15' '\n' < infile.csv > outfile.csv
Still no luck. Any other ideas to import my .csv and retaining all my column headers?