[{"data":1,"prerenderedAt":379},["ShallowReactive",2],{"docs:\u002Fdocs\u002Froster\u002Fimporting-cars":3,"docs:nav":266},{"id":4,"title":5,"body":6,"description":255,"draft":256,"extension":257,"meta":258,"navTitle":259,"navigation":260,"order":261,"path":262,"seo":263,"stem":264,"__hash__":265},"docs\u002Fdocs\u002Froster\u002Fimporting-cars.md","Importing cars",{"type":7,"value":8,"toc":247},"minimark",[9,13,17,22,60,76,115,151,158,165,169,180,201,218,223,227,232,236],[10,11,5],"h1",{"id":12},"importing-cars",[14,15,16],"p",{},"If you already track your rolling stock in a spreadsheet, importing is faster\nthan adding cars one at a time.",[18,19,21],"h2",{"id":20},"prepare-your-csv","Prepare your CSV",[23,24,25,46,53],"ol",{},[26,27,28,29,33,34,37,38,41,42,45],"li",{},"Go to ",[30,31,32],"strong",{},"Cars",", open the ",[30,35,36],{},"⋮"," menu next to ",[30,39,40],{},"New Car",", and select\n",[30,43,44],{},"Import",".",[26,47,48,49,52],{},"Select ",[30,50,51],{},"Download sample CSV"," to get a template with the right column\nheaders.",[26,54,55,56,45],{},"Fill in one row per car, then save it as ",[57,58,59],"code",{},".csv",[14,61,62,65,66,69,70,69,73],{},[30,63,64],{},"Required columns:"," ",[57,67,68],{},"RoadName",", ",[57,71,72],{},"RoadNumber",[57,74,75],{},"CarType",[14,77,78,65,81,69,84,69,87,69,90,93,94,69,97,69,100,69,103,69,106,93,109,69,112],{},[30,79,80],{},"Optional columns:",[57,82,83],{},"Capacity",[57,85,86],{},"Length",[57,88,89],{},"EmptyWeight",[57,91,92],{},"LoadedWeight",",\n",[57,95,96],{},"Color",[57,98,99],{},"Manufacturer",[57,101,102],{},"BuildDate",[57,104,105],{},"RebuildDate",[57,107,108],{},"AcquiredOn",[57,110,111],{},"PurchasePrice",[57,113,114],{},"Notes",[14,116,117,119,120,69,123,69,126,129,130,133,134,69,137,69,140,69,143,146,147,150],{},[57,118,68],{}," is the railroad's reporting mark (",[57,121,122],{},"BNSF",[57,124,125],{},"UP",[57,127,128],{},"CSXT","), up to 10\ncharacters. Write dates as ",[57,131,132],{},"YYYY-MM-DD",". Column order doesn't matter, and\ncommon alternate headers work too: ",[57,135,136],{},"Road",[57,138,139],{},"Number",[57,141,142],{},"Type",[57,144,145],{},"Built",", and\n",[57,148,149],{},"Comments"," all map to the right field.",[14,152,153,154,157],{},"Any railroad or car type your CSV references that doesn't already exist in\nRail Ops gets created automatically, so you don't need to set those up first.\nNew railroads use the reporting mark as their name; rename them later under\n",[30,155,156],{},"Settings → Railroads"," if you like.",[14,159,160],{},[161,162],"img",{"alt":163,"src":164},"Import Cars from CSV","\u002Fimages\u002Fdocs\u002Froster\u002Fcars-import-modal.png",[18,166,168],{"id":167},"choose-what-happens-to-existing-rows","Choose what happens to existing rows",[14,170,171,172,175,176,179],{},"Rail Ops matches CSV rows to existing cars by ",[30,173,174],{},"road name + road number",".\nUnder ",[30,177,178],{},"When a row already exists",", pick how it should handle a match:",[181,182,183,189,195],"ul",{},[26,184,185,188],{},[30,186,187],{},"Skip existing rows",": leaves them untouched. Only new cars are added.",[26,190,191,194],{},[30,192,193],{},"Update existing rows",": this is the default. The existing car is\nupdated with the values from the CSV.",[26,196,197,200],{},[30,198,199],{},"Replace existing rows",": the existing car is deleted and recreated\nfrom the CSV.",[14,202,203,204,207,208,211,212,217],{},"With either ",[30,205,206],{},"Update"," or ",[30,209,210],{},"Replace",", a blank cell clears that field on the\nexisting car. If you only want to change a few columns, start from an\n",[213,214,216],"a",{"href":215},"\u002Fdocs\u002Froster\u002Fexporting-your-roster","export"," of your cars rather than a\nfresh sample file. That way every other column is already filled in.",[14,219,48,220,222],{},[30,221,44],{}," once your file is ready.",[18,224,226],{"id":225},"if-some-rows-dont-import","If some rows don't import",[14,228,229,230,45],{},"Rows are checked one at a time. A row that's missing a required column or has\na bad value (like a date Rail Ops can't read) gets skipped, and the rest of\nthe file still imports. If a car you expected is missing afterward, check that\nrow, fix it, and import the file again with ",[30,231,193],{},[18,233,235],{"id":234},"next","Next",[14,237,238,239,243,244,45],{},"For adding cars by hand, editing many at once, or day-to-day upkeep, see\n",[213,240,242],{"href":241},"\u002Fdocs\u002Froster\u002Fmanaging-your-cars","Managing your cars",". To get your cars back\nout as a spreadsheet (or into JMRI), see\n",[213,245,246],{"href":215},"Exporting your roster",{"title":248,"searchDepth":249,"depth":249,"links":250},"",2,[251,252,253,254],{"id":20,"depth":249,"text":21},{"id":167,"depth":249,"text":168},{"id":225,"depth":249,"text":226},{"id":234,"depth":249,"text":235},"Bring your rolling stock into Rail Ops from a CSV file.",false,"md",{},null,true,30,"\u002Fdocs\u002Froster\u002Fimporting-cars",{"title":5,"description":255},"docs\u002Froster\u002Fimporting-cars","2biE8jQO7cnhEHUtmvz8s4EardC0kl05hx0Lx8389Vc",[267],{"title":268,"path":269,"stem":270,"children":271},"Docs","\u002Fdocs","docs",[272,277,311,320,341,350],{"title":273,"path":269,"stem":274,"navTitle":275,"order":276,"draft":256},"Documentation","docs\u002Findex","Overview",0,{"title":278,"navTitle":259,"order":261,"draft":256,"path":279,"stem":280,"children":281,"page":256},"Document Templates","\u002Fdocs\u002Fdocument-templates","docs\u002Fdocument-templates",[282,287,292,297,302,307],{"title":283,"path":284,"stem":285,"navTitle":259,"order":286,"draft":256},"Car cards","\u002Fdocs\u002Fdocument-templates\u002Fcar-cards","docs\u002Fdocument-templates\u002Fcar-cards",40,{"title":288,"path":289,"stem":290,"navTitle":259,"order":291,"draft":256},"Loco cards","\u002Fdocs\u002Fdocument-templates\u002Floco-cards","docs\u002Fdocument-templates\u002Floco-cards",50,{"title":293,"path":294,"stem":295,"navTitle":259,"order":296,"draft":256},"Setting up a template","\u002Fdocs\u002Fdocument-templates\u002Fsetting-up-a-template","docs\u002Fdocument-templates\u002Fsetting-up-a-template",20,{"title":298,"path":299,"stem":300,"navTitle":259,"order":301,"draft":256},"Station signs","\u002Fdocs\u002Fdocument-templates\u002Fstation-signs","docs\u002Fdocument-templates\u002Fstation-signs",60,{"title":303,"path":304,"stem":305,"navTitle":259,"order":306,"draft":256},"Document templates overview","\u002Fdocs\u002Fdocument-templates\u002Ftemplates-overview","docs\u002Fdocument-templates\u002Ftemplates-overview",10,{"title":308,"path":309,"stem":310,"navTitle":259,"order":261,"draft":256},"Using templates","\u002Fdocs\u002Fdocument-templates\u002Fusing-templates","docs\u002Fdocument-templates\u002Fusing-templates",{"title":312,"navTitle":259,"order":306,"draft":256,"path":313,"stem":314,"children":315,"page":256},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002Fgetting-started",[316],{"title":317,"path":318,"stem":319,"navTitle":259,"order":306,"draft":256},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002Fgetting-started\u002Fintroduction",{"title":321,"navTitle":259,"order":322,"draft":256,"path":323,"stem":324,"children":325,"page":256},"Operations",25,"\u002Fdocs\u002Foperations","docs\u002Foperations",[326,330,334,337],{"title":327,"path":328,"stem":329,"navTitle":259,"order":261,"draft":256},"Creating waybills","\u002Fdocs\u002Foperations\u002Fcreating-waybills","docs\u002Foperations\u002Fcreating-waybills",{"title":331,"path":332,"stem":333,"navTitle":259,"order":286,"draft":256},"Generating waybill cards","\u002Fdocs\u002Foperations\u002Fgenerating-waybills","docs\u002Foperations\u002Fgenerating-waybills",{"title":321,"path":335,"stem":336,"navTitle":259,"order":306,"draft":256},"\u002Fdocs\u002Foperations\u002Foperations-overview","docs\u002Foperations\u002Foperations-overview",{"title":338,"path":339,"stem":340,"navTitle":259,"order":296,"draft":256},"Setting up for operations","\u002Fdocs\u002Foperations\u002Fsetting-up-operations","docs\u002Foperations\u002Fsetting-up-operations",{"title":342,"navTitle":259,"order":286,"draft":256,"path":343,"stem":344,"children":345,"page":256},"Reference","\u002Fdocs\u002Freference","docs\u002Freference",[346],{"title":347,"path":348,"stem":349,"navTitle":259,"order":306,"draft":256},"Keyboard shortcuts","\u002Fdocs\u002Freference\u002Fkeyboard-shortcuts","docs\u002Freference\u002Fkeyboard-shortcuts",{"title":351,"navTitle":259,"order":296,"draft":256,"path":352,"stem":353,"children":354,"page":256},"Roster & Importing","\u002Fdocs\u002Froster","docs\u002Froster",[355,358,359,363,367,370,375],{"title":246,"path":215,"stem":356,"navTitle":259,"order":357,"draft":256},"docs\u002Froster\u002Fexporting-your-roster",45,{"title":5,"path":262,"stem":264,"navTitle":259,"order":261,"draft":256},{"title":360,"path":361,"stem":362,"navTitle":259,"order":296,"draft":256},"Importing locomotives","\u002Fdocs\u002Froster\u002Fimporting-locomotives","docs\u002Froster\u002Fimporting-locomotives",{"title":364,"path":365,"stem":366,"navTitle":259,"order":306,"draft":256},"Importing your roster","\u002Fdocs\u002Froster\u002Fimporting-overview","docs\u002Froster\u002Fimporting-overview",{"title":242,"path":241,"stem":368,"navTitle":259,"order":369,"draft":256},"docs\u002Froster\u002Fmanaging-your-cars",37,{"title":371,"path":372,"stem":373,"navTitle":259,"order":374,"draft":256},"Managing your locomotives","\u002Fdocs\u002Froster\u002Fmanaging-your-locomotives","docs\u002Froster\u002Fmanaging-your-locomotives",35,{"title":376,"path":377,"stem":378,"navTitle":259,"order":286,"draft":256},"Managing your roster","\u002Fdocs\u002Froster\u002Fmanaging-your-roster","docs\u002Froster\u002Fmanaging-your-roster",1791699585352]