openair
openair copied to clipboard
importAURN returning Null dataframes
The following code runs with no error but returns an empty dataframe:
COBR<-importAURN(site = "cobr", year = 2017:2020, pollutant = "all")
Is the server down?
see issue 231
It should bed OK:
> COBR<-importAURN(site = "cobr", year = 2017:2020, pollutant = "all")
> COBR
# A tibble: 32,904 x 12
site code date nox no2 no pm10 v10 nv10 ws wd air_temp
<chr> <fct> <dttm> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 Coventry B… COBR 2017-04-01 00:00:00 43.9 32.3 7.57 18.8 1.2 17.6 NA NA NA
2 Coventry B… COBR 2017-04-01 01:00:00 19.9 13.1 4.42 15.9 2.4 13.5 NA NA NA
3 Coventry B… COBR 2017-04-01 02:00:00 19.4 14.9 2.90 14 2.9 11.1 NA NA NA
4 Coventry B… COBR 2017-04-01 03:00:00 21.2 16.2 3.22 15 3.6 11.4 NA NA NA
5 Coventry B… COBR 2017-04-01 04:00:00 17.1 10.9 4.02 9.9 1 8.9 NA NA NA
6 Coventry B… COBR 2017-04-01 05:00:00 23.6 16.5 4.63 2.2 -0.3 2.5 NA NA NA
7 Coventry B… COBR 2017-04-01 06:00:00 33.9 21.7 7.97 3.3 0.8 2.5 NA NA NA
8 Coventry B… COBR 2017-04-01 07:00:00 34.5 18.3 10.6 3.8 -1.2 5 NA NA NA
9 Coventry B… COBR 2017-04-01 08:00:00 46.1 24.9 13.9 12 -0.3 12.3 NA NA NA
10 Coventry B… COBR 2017-04-01 09:00:00 53.2 24.2 18.9 9.1 0.6 8.5 NA NA NA
# … with 32,894 more rows