Text this: Measuring the impacts of federal investments in research