@Kevin Kho The bottleneck is in the parsing.
results_json = get_results_json.map(id_list, unmapped(BEARER_TOKEN), unmapped(BASE_URL), unmapped(HEADERS))
results = parse_rubric_results_json(results_json)
I have two functions here.
get_rubric_results
, which takes about an hour to complete, and
parse_rubric_results
, which takes about 15 hours.
parse_rubric_results
takes in a list of json objects, iterates through the list and picks out the specific fields we are looking for in the json, and it then appends those fields to a data frame, and finally returns the data frame in the end.