Building web app to import data and export weight function results


My team is working on building an app that allows the import of data, applies a weight to relationships and then export a sum of relationships weights. The import functions have been previously built in Python and application of the weight function and export of the sums have been built in R. We're trying to figure out the best way to incorporate the two, or rebuild the whole thing. I'm trying to use R shiny and the reticulate and neo4r packages. Aside from importing libraries and modules, we're running into issues building out the logic all in one place.

Has anyone built out anything similar, have any tips in general? Any help would be greatly appreciated!