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 ) )