-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata_doc.Rmd
233 lines (225 loc) · 9.92 KB
/
data_doc.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
## Included datasets
```{r function-Adelaide, eval=FALSE}
#' @title
#' Adelaide weather data
#'
#' @description
#' A dataset containing daily temperatures for Adelaide Airport (station number:
#' 023034) downloaded from the Australian Bureau of Meteorology website:
#' * [Adelaide Airport daily maximum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=122&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=023034)
#' * [Adelaide Airport daily minimum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=123&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=023034)
#'
#' @format
#' A tibble containing the downloaded and cleaned temperature data
#' \describe{
#' \item{Date}{The date of the temperature recording}
#' \item{Year}{The year of the temperature recording}
#' \item{Month}{The month of the temperature recording}
#' \item{Day}{The day of the temperature recording}
#' \item{Location}{The location (weather station name) of the temperature recording}
#' \item{Type}{The type of temperature recording (`Maximum` or `Minimum`)}
#' }
#'
#' @details
#' Download date & time (approx.): `r format(Sys.time(), "%d %b %Y @ %l%p %Z")`
#'
#' @source
#' <http://www.bom.gov.au/climate/data/>
"Adelaide"
```
```{r function-Brisbane, eval=FALSE}
#' @title
#' Brisbane weather data
#'
#' @description
#' A dataset containing daily temperatures for Archerfield Airport (station number:
#' 040211) downloaded from the Australian Bureau of Meteorology website:
#' * [Archerfield Airport daily maximum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=122&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=040211)
#' * [Archerfield Airport daily minimum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=123&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=040211)
#'
#' @format
#' A tibble containing the downloaded and cleaned temperature data
#' \describe{
#' \item{Date}{The date of the temperature recording}
#' \item{Year}{The year of the temperature recording}
#' \item{Month}{The month of the temperature recording}
#' \item{Day}{The day of the temperature recording}
#' \item{Location}{The location (weather station name) of the temperature recording}
#' \item{Type}{The type of temperature recording (`Maximum` or `Minimum`)}
#' }
#'
#' @details
#' Download date & time (approx.): `r format(Sys.time(), "%d %b %Y @ %l%p %Z")`
#'
#' @source
#' <http://www.bom.gov.au/climate/data/>
"Brisbane"
```
```{r function-Canberra, eval=FALSE}
#' @title
#' Canberra weather data
#'
#' @description
#' A dataset containing daily temperatures for Canberra Airport (station number:
#' 070351) downloaded from the Australian Bureau of Meteorology website:
#' * [Canberra Airport daily maximum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=122&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=070351)
#' * [Canberra Airport daily minimum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=123&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=070351)
#'
#' @format
#' A tibble containing the downloaded and cleaned temperature data
#' \describe{
#' \item{Date}{The date of the temperature recording}
#' \item{Year}{The year of the temperature recording}
#' \item{Month}{The month of the temperature recording}
#' \item{Day}{The day of the temperature recording}
#' \item{Location}{The location (weather station name) of the temperature recording}
#' \item{Type}{The type of temperature recording (`Maximum` or `Minimum`)}
#' }
#'
#' @details
#' Download date & time (approx.): `r format(Sys.time(), "%d %b %Y @ %l%p %Z")`
#'
#' @source
#' <http://www.bom.gov.au/climate/data/>
"Canberra"
```
```{r function-Darwin, eval=FALSE}
#' @title
#' Darwin weather data
#'
#' @description
#' A dataset containing daily temperatures for Darwin Airport (station number:
#' 014015) downloaded from the Australian Bureau of Meteorology website:
#' * [Darwin Airport daily maximum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=122&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=014015)
#' * [Darwin Airport daily minimum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=123&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=014015)
#'
#' @format
#' A tibble containing the downloaded and cleaned temperature data
#' \describe{
#' \item{Date}{The date of the temperature recording}
#' \item{Year}{The year of the temperature recording}
#' \item{Month}{The month of the temperature recording}
#' \item{Day}{The day of the temperature recording}
#' \item{Location}{The location (weather station name) of the temperature recording}
#' \item{Type}{The type of temperature recording (`Maximum` or `Minimum`)}
#' }
#'
#' @details
#' Download date & time (approx.): `r format(Sys.time(), "%d %b %Y @ %l%p %Z")`
#'
#' @source
#' <http://www.bom.gov.au/climate/data/>
"Darwin"
```
```{r function-Hobart, eval=FALSE}
#' @title
#' Hobart weather data
#'
#' @description
#' A dataset containing daily temperatures for Hobart Airport West (station
#' number: 094008) downloaded from the Australian Bureau of Meteorology website:
#' * [Hobart Airport West daily maximum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=122&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=094008)
#' * [Hobart Airport West daily minimum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=123&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=094008)
#'
#' @format
#' A tibble containing the downloaded and cleaned temperature data
#' \describe{
#' \item{Date}{The date of the temperature recording}
#' \item{Year}{The year of the temperature recording}
#' \item{Month}{The month of the temperature recording}
#' \item{Day}{The day of the temperature recording}
#' \item{Location}{The location (weather station name) of the temperature recording}
#' \item{Type}{The type of temperature recording (`Maximum` or `Minimum`)}
#' }
#'
#' @details
#' Download date & time (approx.): `r format(Sys.time(), "%d %b %Y @ %l%p %Z")`
#'
#' @source
#' <http://www.bom.gov.au/climate/data/>
"Hobart"
```
```{r function-Melbourne, eval=FALSE}
#' @title
#' Melbourne weather data
#'
#' @description
#' A dataset containing daily temperatures for Melbourne Airport (station
#' number: 086282) downloaded from the Australian Bureau of Meteorology website:
#' * [Melbourne Airport daily maximum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=122&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=086282)
#' * [Melbourne Airport daily minimum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=123&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=086282)
#'
#' @format
#' A tibble containing the downloaded and cleaned temperature data
#' \describe{
#' \item{Date}{The date of the temperature recording}
#' \item{Year}{The year of the temperature recording}
#' \item{Month}{The month of the temperature recording}
#' \item{Day}{The day of the temperature recording}
#' \item{Location}{The location (weather station name) of the temperature recording}
#' \item{Type}{The type of temperature recording (`Maximum` or `Minimum`)}
#' }
#'
#' @details
#' Download date & time (approx.): `r format(Sys.time(), "%d %b %Y @ %l%p %Z")`
#'
#' @source
#' <http://www.bom.gov.au/climate/data/>
"Melbourne"
```
```{r function-Perth, eval=FALSE}
#' @title
#' Perth weather data
#'
#' @description
#' A dataset containing daily temperatures for Perth Airport (station
#' number: 009021) downloaded from the Australian Bureau of Meteorology website:
#' * [Perth Airport daily maximum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=122&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=009021)
#' * [Perth Airport daily minimum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=123&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=009021)
#'
#' @format
#' A tibble containing the downloaded and cleaned temperature data
#' \describe{
#' \item{Date}{The date of the temperature recording}
#' \item{Year}{The year of the temperature recording}
#' \item{Month}{The month of the temperature recording}
#' \item{Day}{The day of the temperature recording}
#' \item{Location}{The location (weather station name) of the temperature recording}
#' \item{Type}{The type of temperature recording (`Maximum` or `Minimum`)}
#' }
#'
#' @details
#' Download date & time (approx.): `r format(Sys.time(), "%d %b %Y @ %l%p %Z")`
#'
#' @source
#' <http://www.bom.gov.au/climate/data/>
"Perth"
```
```{r function-Sydney, eval=FALSE}
#' @title
#' Sydney weather data
#'
#' @description
#' A dataset containing daily temperatures for Sydney Airport AMO (station
#' number: 066037) downloaded from the Australian Bureau of Meteorology website:
#' * [Sydney Airport AMO daily maximum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=122&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=066037)
#' * [Sydney Airport AMO daily minimum temperatures](http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=123&p_display_type=dailyDataFile&p_startYear=&p_c=&p_stn_num=066037)
#'
#' @format
#' A tibble containing the downloaded and cleaned temperature data
#' \describe{
#' \item{Date}{The date of the temperature recording}
#' \item{Year}{The year of the temperature recording}
#' \item{Month}{The month of the temperature recording}
#' \item{Day}{The day of the temperature recording}
#' \item{Location}{The location (weather station name) of the temperature recording}
#' \item{Type}{The type of temperature recording (`Maximum` or `Minimum`)}
#' }
#'
#' @details
#' Download date & time (approx.): `r format(Sys.time(), "%d %b %Y @ %l%p %Z")`
#'
#' @source
#' <http://www.bom.gov.au/climate/data/>
"Sydney"
```