csv import guide - gleif · 2020-02-13 · csv import guide final v1.1 2018-03-01 this short guide...

Post on 11-Jun-2020

18 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Public

CSVImportGuideFINALV1.12018-03-01

ThisshortguidedemonstrateshowtoprepareandopenaCSVdatafileusingaspreadsheetapplicationsuchasExcel.

Itdoesnotcoverallpossiblewaystoopenfiles.Itisintendedtodrawattentiontoproblemsthatcanbeavoidedwhenworkingwithdatafilesinthisformat.

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page2of7

Pleasenote:

GLEIFdoesnotprovidetoolsupport,sowearenotabletogivedetailedadviceonyourorganization’sparticularsystemsorworkflows.Theexampleshereareforillustrationandyoumayneedtoadapttoyourlocaloperatingsystemand/orapplication.WerecommendconsultingyourITteamforanycomplextasks.

1. Downloadfile

FirstdownloadthefilefromtheGLEIF.orgwebsite.

Right-clickonthefileandselect“SaveAs…”tosavethefilelocally(pleasedonotopenityet).

Thedatafilehasthefilenameextension“.csv”.

Donotdoubleclickthedatafileimmediately.

2. OpenExcel

Oncethedatafilehasbeendownloaded,donotdirectlyopenit.

§ Instead,findyourspreadsheetapplication(e.g.Excel)andopenit.§ Createanew(blank)workbook:

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page3of7

WithsomeversionsofExcelyoumayneedtodothisfromamenu,suchas:

3. Setupimport

Onceanewworkbookisopen,selectthisoptionfromtheFilemenu:

Import…

Adialogwillnowbegin,guidingyouthroughthestepsofimportingafile.

Youneedtorepeatthestepsinsections2untiltheend,foreachfileyouwishtouse.

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page4of7

4. Importdialog

4.1. Selectfiletype

1. SelectCSV.2. ClickImport.

4.2. Selectdata(file)formats

Thenextstepmaybedifferent,dependingontheoperatingsystem,application,andeventheversionofExcel.

Iftheapplicationsetsanyofthefollowingvaluescorrectly,pleasedonotchangethem:

§ ThedatamustberecognizedasDelimited.§ Theimportmuststartatrow:1.§ Themostimportantsettingmaynotyetbedetected:

Unicode(UTF–8)

Pleaseseethenextpageforanexample.

MakesurethatallsettingsthatofferUnicodeand/orUTF–8aresettothisvalueonly.

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page5of7

DonotclickFinish.InsteadalwaysclickNextuntilthefinalstepiscomplete.

4.3. Setdelimitersandqualifiers

TheCSVfilecontainstwotypesofspecialformattingcharactersthattellyourapplicationwheretosplitthetextintocolumnsandrows:

§ Thedelimitersarecommas(,).§ Thequalifiersaredoublequotationmarks(“).

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page6of7

Ifyourapplicationdetectstheseautomaticallypleasedonotchangethevalues;simplyclickNext.

Ifanyadditionalvalues(e.g.“Tab”)areselected,pleasede-selectthem.

OnlyComma(,)forDelimitersanddoublequotationmarks(“)forTextqualifierarecorrect.

4.4. Setdata(content)format

ThefinalstepistosetdatacontentformatsthatareusedbyExceltodisplayandinsomecases,process,thedata.

ThisisessentialforfilescontainingLEIs.

§ SettheLEIcolumntoTextasshowninthenextscreenshot.§ The“General”typecancauseproblemswithsomelongsequencesofnumbers.

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page7of7

§

OnlyclickFinishwhenallofthestepshavebeenchecked.

Pleasenote:

§ Whenworkingwithverylargefiles,downloading,openingandmanipulatingthefilemaybeinterruptedsometimesduetoe.g.lackofsufficientmemory.

§ Forlargefilesthiscouldbeimpracticalandaspecializedtoole.g.adedicatedCSVeditororparser,isneeded.

§ Fordetailedtechnicalassistanceusingyourapplication,pleaseconsulttheofficialapplicationdocumentation.Forexample,detailedinformationonimportingCSVfilestoMicrosoftExcelcanbefoundat:

https://support.office.com/en-us/article/Import-or-export-text-txt-or-csv-files-5250ac4c-663c-47ce-937b-339e391393ba

top related