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 medicalCountries(paper): papersByField = tools.getPapersByField(paper, "Healthcare") print("medical papers", len(papersByField)) #filteredCountries = tools.filteredUE(countries,3) #plots.pieChart(filteredCountries,"Publications by countries") countries = tools.countries(papersByField) filteredCountries = tools.filteredUE(countries, 1) plots.pieChart(filteredCountries, "Publications by countries")
def allCountries(papers): countries = tools.countries(papers) filteredCountries = tools.filteredUE(countries, 6) print(filteredCountries) plots.pieChart(filteredCountries, "Publications by countries")
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")