基于R语言的疫情分析报告模块化输出——以新冠疫情为例  

Modular output of epidemics analysis reports based on R package:an example of COVID-19 epidemics

在线阅读下载全文

作  者:戴启刚[1] 许可[1] 黄昊頔 戴文军[2] 陆步来[3] 鲍倡俊[1] DAI Qi-gang;XU Ke;HUANG Hao-di;DAI Wen-jun;LU Bu-lai;BAO Chang-jun(Jiangsu Provincial Center for Disease Control and Prevention,Nanjing Jiangsu 210009,China;不详)

机构地区:[1]江苏省疾病预防控制中心,南京210009 [2]泰州市疾病预防控制中心 [3]苏州市疾病预防控制中心

出  处:《江苏预防医学》2024年第1期60-64,共5页Jiangsu Journal of Preventive Medicine

基  金:江苏省卫健委科研项目(M2020026);江苏省卫健委重点科研项目(ZD2021037);江苏省预防医学会项目(Y2018067);十四五流行病学学重点学科(ZDXK202250);江苏省卫健委2023年度定向委托研究重点项目(DX202302)。

摘  要:目的探讨疫情分析中,基于R软件的模块化输出方法。方法以新冠疫情为例,基于可重复执行的R程序,利用officer软件包实现R程序和Office word的交互。结果通过在预先设定好格式的模板文档中插入书签,用R语言模块化输出数字、文字、图表。基于Office Excel数据,在R程序中使用Officer软件包实现生成流行病学报告的疫情分析自动化和可视化输出。结论R语言简洁高效、便于维护,可显著提高疫情分析的时效性和准确性。Objective To explore the modular output method of epidemics analysis reports based on R package.Methods COVID-19 epidemic was selected as an example.Based on the repeatable R package,the Office software was employed to achieve the interaction between R package and Office Word software.Results The bookmark was inserted into the predesigned template file,and modular data,characters,tables and figures were output through the R package.Based on the Office Excel software,the epidemic analysis automation and visualization output of epidemiological reports were generated using the Officer function in the R package.Conclusions R package is simple,highly effective and convenient to maintain,which may remarkably improve the timeliness and accuracy of epidemic analyses.

关 键 词:疫情分析 新冠感染 R语言 自动输出 

分 类 号:R181.8[医药卫生—流行病学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象