Ticket #315 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Improvements and fixes to csv dump

Reported by: rgrp Owned by: dread
Priority: critical Milestone: v1.1
Component: ckan Keywords:
Cc: Repository:


  1. Issues with quote in fields: http://lists.okfn.org/pipermail/ckan-discuss/2010-May/000240.html
  1. Issues with package resource serialization into csv table.

<quote> In the latest dump there were 116(!) sets of the three columns (“resource-[n]-url”, “resource-[n]-format”, and “resource-[n]-description”). However, these are an extract of the packed “resource” column and I’m not sure whether they’re needed. Also, they irritatingly don’t appear in order in the CSV serialisation. If the resource columns could be ordered in the file that would be great; if a second version without the unpacked resource data would be excellent. </quote>

Change History

comment:1 Changed 4 years ago by rgrp

  • Owner changed from johnbywater to dread

comment:2 Changed 4 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in cset:61548ced8b7d - Quote marks correctly read in for data4nr data, which makes this problem record ok (which opened in openoffice fine incidentally). Fields in package are now dumped in correct order to make it clearer. Not changed resource serialisation - if you want tidy json, then use the json dump. No real call for half-way house dump.

Note: See TracTickets for help on using tickets.