Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.07 KB

data_utils.md

File metadata and controls

25 lines (13 loc) · 1.07 KB

Data utilities

Python scripts for generating schema appropriate data from various contexts.

How it's organized

Below is a list of python modules and their methods. When in doubt, check the overall data utils module for more.

Any module that supports command line usage will be accessible via python MODULE_NAME.py. To find out how to use them, just run python MODULE_NAME.py --help, or look at the source.

Modules

filetree.py

get_tree: build a json representation of a filesystem tree appropriate for creating dendrograms, treemaps and radial dendrograms. See schemas for more info on these chart types.

filetree_digraph.py

get_dotfile_tree: build a dotfile representation of a filesystem tree appropriate for creating graphs and digraphs. See schemas for more info on these chart types.

wordcloud.py

get_word_freq_distribution: create a counter with word frequencies.

format_4_wordcloud: create wordcloud friendly config from words.