Project

cmap

0.0
No commit activity in last 3 years
No release in over 3 years
Converts cmap exports that follow strict conventions into postgreSQL for data analysis
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
>= 0

Runtime

= 0.18.3
>= 0
 Project Readme

Cmap

The cmap gem converts the 'Propositions to Text' export file into a directed graph data structure (with the directed_graph gem.

cmaps can be exported as a tab delimited text file of the graph edges with the "Propositions to Text" option. The Cmap::PropositionsToGraph is meant to be instantiated with the path to one of these "Propositions to Text" exports.

propositions_to_graph = Cmap::PropositionsToGraph.new("/path/to/propositions_to_text_file")
propositions_to_graph.graph # a DirectedGraph::Graph object

Installation

Add this line to your application's Gemfile:

gem 'cmap'

And then require the gem in your project:

require 'cmap'

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/MrPowers/cmap.

License

The gem is available as open source under the terms of the MIT License.