Questions tagged [openair]

The openair project aims to provide a collection of open-source tools for the analysis of air pollution data.

The openair project is a Natural Environment Research Council (NERC) knowledge exchange project that aims to provide a collection of open-source tools for the analysis of air pollution data.

From the openair website, the project is described thus:

An enormous amount of air pollution data is collected worldwide and the amount of data collected continues to increase.

...

Improved information concerning the sources and nature of air pollution will help lead to the development of better policies for controlling air pollution.

The analysis of air pollution data can however be difficult. Often there is a lack of knowledge concerning what types of technique are available (there are many), the tools required to carry out analyses can be spread across many different types of software, or are expensive. In general, a consistent set of tools for air quality data analysis does not exist.

The openair project aims to address these issues by:

  • Providing a free, open-source set of tools available to everyone
  • Making available a range of existing techniques and developing new ones for the analysis of air pollution data
  • Using the statistical/data analysis software R as a platform – a powerful, open-source programming language ideal for insightful data analysis
  • Making it easy to carry out sophisticated analyses quickly, in an interactive and reproducible way
  • Encourage the air quality community to use and help further develop these tools

Links

96 questions
1
vote
1 answer

error with scatterPlot

I am plotting trajectories (latitude vs longitude) with R's scatterPlot from openair package. When grouping the trajectories with the 'group' option, the last group doesn't get plotted. Here is a sample code: df = data.frame(name =…
Ilik
  • 165
  • 10
1
vote
1 answer

Two variables plotted in a same graphic using 'scatterPlot' from package 'openair'

About the command 'scatterPlot' from package 'openair' of R, I used the following command: data(mydata) scatterPlot(mydata, x = "nox", y = "no2", method = "hexbin", colorcut = seq(0, 1, length = 7), cols = "default", trans=log,…
Dani Depi
  • 313
  • 3
  • 16
1
vote
2 answers

windrose error: Error in Summary.factor ‘min’ not meaningful for factors

I am using windRose in openair package in R (3.2.1), using R studio. library(openair) mydata = read.csv("sample.csv") windRose(mydata) Whether I use my own data (sample.csv): date,ws,wd 14/10/2014 09:00,1.4,357 14/10/2014 10:00,1.5,49 14/10/2014…
lost in R
  • 55
  • 11
1
vote
2 answers

Javascript Add Item in Array to string

I am trying to make a multiline string from taking an array of user ids and matching them to the username and then printing the string. This is what I have so far and am wondering what the proper way to do this would be: var names; for(var i in…
1
vote
0 answers

R - 'breaks' are not unique

Originally, I have some missing data in ws (wind speed) and wd (wind speed), timestamp no pm hum 1 1404227061 49 2.5 54 2 1404227121 35 4.5 52 3 1404227181 27 6.6 49 4 1404227241 8 7.1 48 5 1404227301 51 8.4 46 …
Run
  • 54,938
  • 169
  • 450
  • 748
1
vote
1 answer

Create polar plots but missing data

We have these data below in a csv file and we would like to create a polar plot from them. We are going to use this R package - openair for creating the polar plot. timestamp humandate NOppb 1 1412877113 09/10/2014 13:51 19 …
Run
  • 54,938
  • 169
  • 450
  • 748
1
vote
2 answers

Fixing plot scale of windRose of R package

I would appreciate your help. I am using the function windRose of the openair package for R. I am doing wind roses for wind date from many stations, and I need to compare the results from all roses together. The problem is that the windRose…
Ferjara77
  • 11
  • 3
1
vote
2 answers

Removing default title from wind rose in 'openair' package

I have created a wind rose using the package 'openair', for water current and direction data. However, a default title is applied to the plot "Frequency of counts by wind direction (%)" which is not applicable to water current data. I cannot remove…
Jesinsky
  • 71
  • 2
  • 9
0
votes
0 answers

How to set xlim and ylim in summaryPlot?

I would like to know if I can set the xlim and ylim in summaryPlot-Openair. In the image I have mar, abr and may. But what about if I want to set to March, April and May. In the ylim I would like to set MP2.5 instead of PM2.5. Is it possible? Also,…
0
votes
0 answers

openair: adjusting windRose legend

I am working on making a Wind Rose figure using the openair package. How can I increase the legend text font size, legend title font size, and left-align the legend title? library(openair) dd <- data.frame( datetime =…
tassones
  • 891
  • 5
  • 18
0
votes
1 answer

Removing statistics, title and increase legend size from openair windRose

I have produced a windRose using openair but when I change to annotate = F I lose all of the directions but I just want to remove the title and stats (circled in red in image). I also want to increase scale size so that my text is not…
gillisr
  • 3
  • 1
0
votes
1 answer

How to import and save multiple data files with a for loop in R?

I'm trying to import data for multiple rounds using the package "openair". This is the code I'm using install.packages("devtools") devtools::install_github("r-lib/conflicted") #openair library(openair) library(tidyverse) #import sites_2005_2019…
Jan3
  • 9
  • 2
0
votes
0 answers

How to disable Mandatory Fields in Oracle NetSuite?

Go to customization > List, Records & Fields > Item fields . Edit that custom field and on the Validation & Defaulting tab you can uncheck the mandatory field and then just save. OR You can navigate to Customization >> Forms >> Entry Form. Then…
0
votes
0 answers

Trying to add multiple pins to polarplots of Openair map in R

I have been using the open air package for my research work. I have an air quality monitor located in my city and I am able to the plot the polar plots on the map for the respective pm levels. I was wondering if I could add the location of the…
0
votes
0 answers

How do I display an R interactive map in Javascript?

So I have this website, using Javascript as the frontend and PHP as the backend. PHP calls an R file that creates an interactive map (openairmaps), and I need to show that map in the website. So far, I was able to output a non interactive map (just…