View Single Post
Old 07-21-2020, 06:46 PM   #230
isra00
Junior Member
isra00 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2017
Device: Kobo Forma
Hello! Based on your _lc_genre_mapping_csv.txt and my own list of DDC headings, you I've written a template function to calculate nested DDC headings from DDC codes (see attached screenshot). The difference is that instead of including each sublevel in the list, the function calculates the nested levels from the superior decimal codes. You can find the template function attached, I hope you find it useful!

Click image for larger version

Name:	ddc_screenshot2.png
Views:	360
Size:	91.9 KB
ID:	180836

Of course, to view it you must add a custom column with that template function:

Click image for larger version

Name:	ddc_head_custom_column.png
Views:	329
Size:	26.1 KB
ID:	180837

ddc_head.py
isra00 is offline   Reply With Quote