def USAMedicalData(papers): papersByEU = tools.getPapersByUSA(papers) papersByField = tools.getPapersByField(papersByEU, "Healthcare") print("USA medical papers", len(papersByField)) globalSpecialization = tools.specialization(papersByField) globalSpecializationGroped = tools.filtered(globalSpecialization, 1) plots.pieChart(globalSpecializationGroped, "USA healthcare specialization")
def EUMedicalData(papers): papersByEU = tools.getPapersByEU(papers) papersByField = tools.getPapersByField(papersByEU, "Healthcare") print("EU medical papers", len(papersByField)) globalSpecialization = tools.specialization(papersByField) globalSpecializationGroped = tools.filtered(globalSpecialization, 5) plots.pieChart(globalSpecializationGroped, "UE healthcare pecialization")
def globalMedicalData(papers): papersByEU = tools.countries(papers) papersByField = tools.getPapersByField(papers, "Healthcare") print("medical papers", len(papersByField)) globalSpecialization = tools.specialization(papersByField) globalSpecializationGrouped = tools.filtered(globalSpecialization, 6) plots.pieChart(globalSpecializationGrouped, "global healthcare specialization")
def USAFields(papers): papersByUSA = tools.getPapersByUSA(papers) print("analized papers from USA: ", len(papersByUSA)) USAFields = tools.aplicationFields(papersByUSA) USAfilteredFields = tools.filtered(USAFields, 5) plots.pieChart(USAfilteredFields, "USA Study fields ")
def EUFields(papers): papersByEU = tools.getPapersByEU(papers) print("analized papers from UE: ", len(papersByEU)) EUFields = tools.aplicationFields(papersByEU) EUfilteredFields = tools.filtered(EUFields, 5) plots.pieChart(EUfilteredFields, "EU Study fields")
def allFields(papers): fields = tools.aplicationFields(papers) filteredFields = tools.filtered(fields, 5) plots.pieChart(filteredFields, "General study fields")