DataCurator
1.0.0
复杂项目的协作实时计划申请。集成了以下功能的子集:
在datacurator.org上找到更多信息,查看示例映射或注册
数据存储在我们经营的Supabase帐户中。将来,我们希望您能够更轻松地在实体豆荚或同等用途中托管自己的数据。
$ git clone [email protected]:centerofci/DataCurator.git
cd app/frontend
pnpm install
cd app/frontend
npm start
然后访问http:// localhost:8080/app#wcomponents/&view =知识
当前在GitHub上托管的数据库
# Clone into adjacent directory
git clone [email protected]:AJamesPhillips/data-curator-build.git
目前截至2023-09-05
./build.sh
cd ../data-curator-build
git commit
git push
您可以导航到知识视图,打开开发人员控制台,并使用以下脚本获取连接组件的矩阵:
current_visible_graph = window . console_api . get_current_visible_graph ( )
connection_matrix = current_visible_graph . get_connection_matrix ( )
console . log ( window . console_api . matrix_to_csv ( connection_matrix ) )如果您想通过标题而不是ID获取组件,则可以使用:
connection_matrix_using_titles = window . console_api . matrix_component_ids_to_titles ( window . console_api . get_wcomponents_by_id ( ) , connection_matrix )
console . log ( window . console_api . matrix_to_csv ( connection_matrix_using_titles ) )如果您想通过其标签的化合物和序数来获取组件,则可以使用:
component_id_to_label_names_map = current_visible_graph . get_component_id_to_label_names_map ( )
connection_matrix_using_label_names = window . console_api . matrix_component_ids_to_labels ( component_id_to_label_names_map , connection_matrix )
console . log ( window . console_api . matrix_to_csv ( connection_matrix_using_label_names ) )