Skip to content

Codebook enhancements

timrdf edited this page Jan 23, 2011 · 17 revisions

Codebook enhancements effectively replace values found in cells of CSVs with a predefined value. This is done to avoid modifying the input file. Often, codes are used to abbreviate longer, more meaningful, values. Codebook enhancements are shown in Enhancement Parameters Reference.

Java implementation

edu.rpi.tw.data.csv.querylets.column.CodebookQuerylet is used to obtain any codes that should be applied according to the input parameters (it returns a hashmap of java:String to sesame:Value).

edu.rpi.tw.data.csv.CSVtoRDF#visit passes the ValueHandler the value of the CSV cell (after an optional conversion:delimit_object)

Clone this wiki locally