Language GPLv3 license Version


The FOQAT is an R package designed for quick processing and analysis of atmospheric data measured from field observation and air pollution. And the functions for time series analysis could also applied to time serires of any other fileds.

The FOQAT stands for "Filed observation quick analysis toolkit".

The FOQAT package is developed and maintained by Chen Tianshu from Professor Xue Likun's research group of Environmental Research Institute of Shandong University.

For getting start or detail usage, please visit: user manual or 说明手册 .

If FOQAT is used to support a scientific publication, please cite the following reference:

Tianshu Chen: Filed Observation Quick Analysis Toolkit (FOQAT), available at: (last access: 12 July 2020), 2020.

In addition, please send an email to me so that the paper may be added to my 'List of Publications Using FOQAT'.

As far as I know, FOQAT has users from: Chinese Research Academy of Environmental Sciences (CRAES) Chinese Academy of Meteorological Sciences (CAMS) Research Center for Eco-Environmental Sciences (RCEES) for Chinese Academy of Sciences (CAS) Anhui Institute of Optics and Fine Mechanics (AIOFM) for Chinese Academy of Sciences (CAS) Peking University (PKU) City University of Hong Kong (CityU) The Hong Kong Polytechnic University (PolyU) Shandong University (SDU)


# Install from GitHub:


Functions in foqat are listed below: statdf: summary each variable of dataframe into: mean, sd, min, max, percentiles (25%, 50%, 75%). trs: resample time series and return complete time series with new time resolution. avri: calculate average of variation of time series. anylm: analyse linear regression for time series in batch. dm8n: calculate daily maximum-8-hour ozone. vocct: convert and analyse VOC concentrations ofp: calculate ozone formation potential (OFP) of VOC time series. MIR values are refered from "Carter, W. P. (2009). Updated maximum incremental reactivity scale and hydrocarbon bin reactivities for regulatory applications. California Air Resources Board Contract, 2009, 339" (Revised January 28, 2010). koh: search kOH value from ''. Predicted data is generated using the US Environmental Protection Agency’s EPISuite. loh: calculate OH reactivity (LOH) of VOC time series. kOH value is generated using the US Environmental Protection Agency’s EPISuite "AOPWIN". openaq: process the historical data from retrieved by AWS Athena. tuv: run offline batch calculation of TROPOSPHERIC ULTRAVIOLET AND VISIBLE (TUV) RADIATION MODEL. Currently, this function only support output of photolysis rate coefficients (J-values). If you want to know detail about each function, please type ?functionname in R. Below is an example:



Click the link to ask questions and give feedback: ☛ ☚ Please send email to:


Personal Academic Site ResearchGate Google Scholar Twitter ![zhihu-shield]


The project took a lot of time and effort. If this project is helpful to you, you are welcome to donate. Thank you very much: Wechat Pay 支付

GlossyBoat/foqat documentation built on Jan. 18, 2021, 11:31 p.m.