Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additions from ROpenSci Unconference (Spring 2016) #159

Merged
merged 220 commits into from
Aug 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
220 commits
Select commit Hold shift + click to select a range
adb90fb
adding rproj back in
hrbrmstr Apr 1, 2016
9430b6c
Add vignette skeleton
Apr 1, 2016
71b9fad
Rename openaq vignette name
Apr 1, 2016
0cf2bd8
meteo cache
hrbrmstr Apr 1, 2016
b6ad699
Merge branch 'master' of github.com:hrbrmstr/rnoaa
hrbrmstr Apr 1, 2016
6ae82f6
Add function to clean weather data pulled with `ghcnd`
Apr 1, 2016
36699ac
Merge branch 'master' of github.com:hrbrmstr/rnoaa
Apr 1, 2016
4a11f36
Change to use `vapply`
Apr 1, 2016
565b07e
Add return value to documentation
Apr 1, 2016
ea53da3
Change to [package]::[function] syntax in `clean_daily`
Apr 1, 2016
8ce744b
Add documentation on flags for the GHCN daily data in `clean_daily`
Apr 1, 2016
6465ef6
Limit `clean_daily` to main weather variables.
Apr 1, 2016
be85859
Add documentation for `clean_daily`
Apr 1, 2016
6b38604
draft of vignette
maelle Apr 1, 2016
7ef7897
Merge branch 'master' of https://github.com/hrbrmstr/rnoaa
maelle Apr 1, 2016
52c3db2
Add two wind variables for `clean_daily` to pick up (if they're there…
Apr 1, 2016
e47cb3d
Merge branch 'master' of github.com:hrbrmstr/rnoaa
Apr 1, 2016
4006b09
adds skeletton for shiny app
maelle Apr 1, 2016
b410041
Merge branch 'master' of https://github.com/hrbrmstr/rnoaa
maelle Apr 1, 2016
03643f8
Add citation for a journal article with more info on the GHCD data se…
Apr 1, 2016
a54c22b
Merge branch 'master' of https://github.com/hrbrmstr/rnoaa
maelle Apr 1, 2016
8958454
station coverage
hrbrmstr Apr 1, 2016
c73abbb
station coverage
hrbrmstr Apr 1, 2016
ddd0e0c
Add function `meteo_pull_monitors` to pull GHCN data for multiple mon…
Apr 1, 2016
7257c23
Merge branch 'master' of github.com:hrbrmstr/rnoaa
Apr 1, 2016
1acaa03
updated coverage docs
hrbrmstr Apr 1, 2016
43723a3
add leaflet location plotting example
jdunic Apr 1, 2016
55633f3
Merge branch 'master' of https://github.com/hrbrmstr/rnoaa
jdunic Apr 1, 2016
a78075f
updated coverage
hrbrmstr Apr 1, 2016
ef76c35
Merge branch 'master' of github.com:hrbrmstr/rnoaa
hrbrmstr Apr 1, 2016
46ef2ba
Add documentation for `meteo_pull_monitors`
Apr 1, 2016
6367b61
Merge branch 'master' of github.com:hrbrmstr/rnoaa
Apr 1, 2016
ffe4078
add vis_miss
njtierney Apr 1, 2016
0337923
added meteo_distance
njtierney Apr 1, 2016
0bb7e6c
Fix `clean_daily` so it works even if the data only has a single type…
Apr 1, 2016
37d0876
Merge branch 'master' of github.com:hrbrmstr/rnoaa
Apr 1, 2016
c8f0079
Export `clean_daily`
Apr 1, 2016
c288d73
save stations data so speed up testing
jdunic Apr 1, 2016
29803b8
Merge branch 'master' of https://github.com/hrbrmstr/rnoaa
jdunic Apr 1, 2016
5061053
update coverage
hrbrmstr Apr 1, 2016
e056222
namespace
hrbrmstr Apr 1, 2016
22203ef
namespace
hrbrmstr Apr 1, 2016
dc87696
params temp
hrbrmstr Apr 1, 2016
5c6ff86
Suppress character / factor warning in `meteo_pull_monitors`
Apr 1, 2016
36cadd3
Filter to only unique monitors
Apr 1, 2016
239fe72
Add warning message to `meteo_pull_monitors` if user tries to pull st…
Apr 1, 2016
2ef4a29
Add documentation for `meteo_pull_monitors`
Apr 1, 2016
2ba3a61
adds app
maelle Apr 1, 2016
0870cbe
Specify package for `GET` in `ghcnd_GET`
Apr 1, 2016
8b98835
Close #147
Apr 1, 2016
f1d525c
Merge branch 'master' of github.com:hrbrmstr/rnoaa
Apr 1, 2016
dce9f0e
add function to get stations for multiple sites in a dataframe
jdunic Apr 1, 2016
b3e24c0
export function and rename for consistency
jdunic Apr 1, 2016
58a8401
Close #149.
Apr 2, 2016
b7d87f3
Merge branch 'master' of github.com:hrbrmstr/rnoaa
Apr 2, 2016
756415b
Put `date_min`, `date_max`, and `var` back in `ghcnd_*` documentation
Apr 2, 2016
804a5f2
Update documentation for `ghcnd` function
Apr 2, 2016
d6494ca
Update documentation for `ghcnd_search`
Apr 2, 2016
10bcdd9
Change `clean_daily` to use `ghncd_search`
Apr 8, 2016
4ab0b15
Work on documentation for `ghncd_*` family (still in progress)
Apr 8, 2016
86bdfad
Format `meteo_distance.R` to 80 character width
Apr 8, 2016
e9a1ef7
Add reasonable defaults for most `meteo_nearby_stations` arguments.
Apr 8, 2016
19a6e05
Work on documentation and small fixes for `meteo_distance` functions
Apr 8, 2016
2d5715d
Add some filtering of the station data before distance calculations f…
Apr 9, 2016
1d02b64
Work on documentation
Apr 9, 2016
f68ee4b
Work on `meteo_pull_monitors`
Apr 9, 2016
6382f4c
Work on `meteo_distance` family of functions
Apr 9, 2016
a3955e8
Work on documentation
Apr 9, 2016
22bd010
Close #6
Apr 12, 2016
2fdfa6e
Put test cases in R build ignore
Apr 14, 2016
ecdf71d
Add hurricane test case
Apr 14, 2016
3d975ab
Update hurricane test case
Apr 14, 2016
e9b5ba2
Add details to hurricane test case
Apr 14, 2016
e628942
Check and run documentation on package
Apr 17, 2016
cd89f24
Pull in upstream changes from `ropensci` branch
Apr 17, 2016
533ed12
Give functions `meteo` prefix
Apr 17, 2016
733fdb9
Clean up `helpers_ghncd.R`
Apr 17, 2016
2d34287
Work on documentation for `ghcnd` functions
Apr 17, 2016
b747d6a
Rearrange file order for `meteo_distance`
Apr 17, 2016
367fd42
Close #10
Apr 17, 2016
65ec68e
Work on documentation
Apr 17, 2016
1249423
Try to get all the `dplyr` functions to standard evaluation
Apr 17, 2016
73c6ddb
Add `purrr` to Suggests
Apr 17, 2016
cce0abf
Don't export `deg2rad` (helper function for distance functions
Apr 17, 2016
47aeae9
Work on avoiding non-standard evaluation
Apr 17, 2016
739a3c0
Work on documentation for `meteo_nearby_stations`
Apr 17, 2016
dc4352f
Work on `meteo_distance` functions, esp. documentation
Apr 18, 2016
9750610
Work on documentation for `ghcnd` family of functions
Apr 18, 2016
b98e56b
Add authors to `meteo_distance` functions
Apr 18, 2016
2227b97
Make fixes to resolve `check` problems
Apr 18, 2016
ab27680
improves aq vignette
maelle Apr 18, 2016
2f4d0ab
improves documentation
maelle Apr 18, 2016
6d9aa99
closes #13
maelle Apr 18, 2016
85f6c64
Add countyweather info for precipitation task
leighseverson Apr 18, 2016
475939f
Merge pull request #19 from leighseverson/master
geanders Apr 18, 2016
9798933
Close #16.
Apr 19, 2016
9490394
`year_min` and `year_max` documentation
Apr 19, 2016
5bdc976
Run `document` for `meteo_nearby_stations`
Apr 19, 2016
f609afc
closes #7
maelle Apr 19, 2016
5681c1a
corrects my mistake
maelle Apr 19, 2016
a4e0232
Added test comment.
RyanGan Apr 19, 2016
c7f5b42
Merge pull request #20 from RyanGan/master
geanders Apr 19, 2016
6c291a2
Work some on flooding for hurricane test case
Apr 20, 2016
0ccfb8a
Merge branch 'master' of github.com:ropenscilabs/rnoaa
Apr 20, 2016
de31343
Add more to hurricane test case on flooding.
Apr 20, 2016
02e0a2f
Add md for hurricane test case
Apr 20, 2016
379d23c
Add to hurricane test case
Apr 20, 2016
78be460
Test comment
Apr 20, 2016
6368e69
added author and instructions for obtaining API key
mandilin Apr 20, 2016
a5efd46
MF contributions
mandilin Apr 20, 2016
9d1d9b2
Merge pull request #21 from mandilin/master
geanders Apr 20, 2016
34e3f2f
Added some notes about lightning strike data.
RyanGan Apr 20, 2016
805ced5
Trying to commit.
RyanGan Apr 20, 2016
dbee7f0
Adding a plot of weather station locations in Alaska.
RyanGan Apr 20, 2016
97c5ff9
Merge pull request #22 from RyanGan/master
geanders Apr 20, 2016
ff79dff
Adding pdf of current wildfires test case
Apr 20, 2016
abc686a
Begin creating data frame with Alaska monitoring stations in attempt …
jferreri Apr 20, 2016
2a17640
new comment on limit
stevenbrey Apr 20, 2016
d60d297
new data listed and lightning data update
stevenbrey Apr 20, 2016
7ce287d
tweek
stevenbrey Apr 20, 2016
bab2320
Add info about isd() function for hourly wind data.
leighseverson Apr 20, 2016
a4190fb
Merge branch 'master' of github.com:ropenscilabs/rnoaa
leighseverson Apr 20, 2016
d6ec6ec
Stevens comments on wildfire case.
stevenbrey Apr 20, 2016
0662c39
comment about getting rnoaa package installed
cpatrizio88 Apr 20, 2016
e170d50
Merge remote-tracking branch 'upstream/master'
cpatrizio88 Apr 20, 2016
87513e2
New almost lighning data sources.
stevenbrey Apr 20, 2016
ae9eb3f
Began to create a data frame with weather data for monitors in Alaska…
jferreri Apr 20, 2016
fdf81ea
Merge pull request #23 from jferreri/master
geanders Apr 20, 2016
7b45834
weather underground API exploration added.
stevenbrey Apr 20, 2016
9942685
found isd() function which gives hourly weather data, also isd_statio…
cpatrizio88 Apr 20, 2016
1ada274
Merge pull request #25 from cpatrizio88/master
geanders Apr 20, 2016
5b17e84
Add example for Cyclone Tracy
Apr 20, 2016
bdc31f7
Merge branch 'stevenjoelbrey-master'
Apr 20, 2016
bb6b9b0
Add Steven's changes
Apr 20, 2016
f4157f3
Merge Steven and Josh's changes
Apr 20, 2016
13fbd7f
Merging in changes from Mike
Apr 21, 2016
7c49573
Added Ryan Hicks (RH) as an author
Apr 21, 2016
1b310c4
Add an author
Ewen2015 Apr 21, 2016
8dc6196
Added the startof exploring the RNCEP package to obtain weather and c…
mgutilla Apr 21, 2016
e5c7057
Updated 11:20am
mgutilla Apr 21, 2016
be08c23
Merge pull request #27 from mgutilla/master
geanders Apr 21, 2016
8b3a27d
NDVI updates with package "gimms"
Apr 21, 2016
fec9737
Added plot(gimms_raster)
Apr 21, 2016
ac6cbb8
Corrected typos and made some stylistic changes
Apr 21, 2016
1591d4e
More concise
Apr 21, 2016
afef394
Added examples for Precip data for last few storms
jferreri Apr 21, 2016
ab6c1bc
Add Molly's code (still need to get it to run)
Apr 21, 2016
ff84444
Merge changes from RH
Apr 21, 2016
a16e2ba
Add changes from Ryan Hicks
Apr 21, 2016
e2a6868
I've added a webaddress to find fire locations and lightning strike l…
RyanGan Apr 21, 2016
bd323fa
Storm Path Function with several examples.
Ewen2015 Apr 21, 2016
28c5fb7
Add Ryan Hicks' changes
Apr 21, 2016
d109496
Merge branch 'master' of github.com:Ewen2015/rnoaa
Ewen2015 Apr 21, 2016
6059cc5
Merge pull request #30 from RyanGan/master
geanders Apr 21, 2016
a3b4648
Fix merge conflicts
Apr 21, 2016
608c7cd
Add Josh's changes
Apr 21, 2016
cf5ec11
Updata the storm path function.
Ewen2015 Apr 21, 2016
b88e890
Update the storm path function.
Ewen2015 Apr 21, 2016
dd585ca
Update the storm path function.
Ewen2015 Apr 21, 2016
9e58f1f
Added pressure data on Andrew using the NNCEP package
hakessler Apr 21, 2016
4137e8c
Update storm path.
Ewen2015 Apr 21, 2016
78a247f
Update HurricaneTestCase.Rmd
Ewen2015 Apr 21, 2016
769ae88
Update HurricaneTestCase.Rmd
Ewen2015 Apr 21, 2016
535e4f6
Storm path function.
Ewen2015 Apr 21, 2016
a018a78
Add Josh's changes
Apr 21, 2016
bbc41ef
Add Enqun's new stuff
Apr 21, 2016
54dabb3
Adding Enqun's function
Apr 21, 2016
42a7252
Began investigating available data for wind speeds during historical …
jferreri Apr 21, 2016
dfc0433
Fix merge conflicts
Apr 21, 2016
7ba0bb7
Fix merge conflicts
Apr 21, 2016
b10476e
Fix merge conflicts
Apr 21, 2016
829daa3
Fix merge conflicts
Apr 21, 2016
975691c
Add Nic's function to map storm warnings
Apr 21, 2016
65b5637
Merge pull request #33 from jferreri/master
geanders Apr 21, 2016
3a5acef
Add first steps of hourly data isd function
leighseverson Apr 21, 2016
4d4a482
Merge branch 'master' of github.com:ropenscilabs/rnoaa
leighseverson Apr 21, 2016
fc9f233
Added NDVI maps for Alaska - MF
mandilin Apr 21, 2016
4132123
Merge pull request #34 from mandilin/master
geanders Apr 21, 2016
50a8d69
Add compiled current version of wildfire test case.
Apr 22, 2016
b91dd58
Add pdf of current version
Apr 22, 2016
1b0bc24
Delete compiled htmls
Apr 22, 2016
4c2ad91
Add back in Nic's file-- somehow lost this.
Apr 22, 2016
9bb289f
Add back in Enqun's extra files (somehow got lost in the merging)
Apr 22, 2016
0119ba1
Add wildfires maps
Apr 22, 2016
928a0d3
Update with lighting map
Apr 22, 2016
3a2a680
Adding code for plotting lightning
Apr 22, 2016
44b0c11
This is a new file.
rodlammers Apr 24, 2016
16b64b7
Html version of Rmd.
rodlammers Apr 24, 2016
7964c7d
Merge pull request #35 from rodlammers/master
geanders Apr 25, 2016
ef8687a
Latest Rmds
Jul 14, 2016
bf987aa
Merge updates from upstream branch
Jul 14, 2016
c0bb3a1
Clarify that `ends_with` is from `dplyr`
Jul 14, 2016
81b4e3d
Remove user examples and Shiny code from "ready-to-go" branch.
Aug 12, 2016
a307a7a
No Shiny in this branch
Aug 12, 2016
4944dbd
Fix YAML in air pollution / weather vignette
Aug 12, 2016
b05e4f5
Update documentation for no Shiny
Aug 12, 2016
1aebdc8
Make some small tweaks to documentation in `ghcnd_*` functions
Aug 12, 2016
2a40081
Change to not convert temperature and precip from 10ths.
Aug 12, 2016
07cd6b2
Include user warning about "9"s for missing values
Aug 12, 2016
cb11014
Make some more tweaks to helpers_ghcnd documentation
Aug 12, 2016
5803899
Fix variable name in code for `meteo_tidy_ghcnd`
Aug 12, 2016
c758ffc
Make some small changes to documentation for `meteo_coverage`
Aug 12, 2016
d839ca5
Update documentation
Aug 12, 2016
797038b
Add `.` to global variables
Aug 12, 2016
07f3706
Fix NSE in plotting method for coverage.
Aug 12, 2016
111a880
Fix NSE CRAN warnings in `autoplot` method
Aug 12, 2016
49eb394
Put example for `meteo_coverage` in `\dontrun`
Aug 12, 2016
b6c4004
Make some small edits to documentation for `vis_miss`
Aug 12, 2016
ab11f86
Create test file for main added functions in this PR
Aug 12, 2016
4e1f95b
Add tests for `meteo_coverage`
Aug 12, 2016
38868f3
Add suggested dependency for new vignette
Aug 12, 2016
9f567f4
Fix NSE in `vis_miss`
Aug 12, 2016
97b4f87
Change `meteo_distance` to split by id instead of lat / lon
Aug 12, 2016
09e1343
Use quotations for splitting variable in `meteo_distance`
Aug 15, 2016
872953c
Close #14
Aug 15, 2016
137b59a
Ensure `meteo_nearby_stations` is robust to a `lat_lon_df` dataframe …
geanders Aug 17, 2016
147ab6b
Include `autoplot.meteo_coverage` within documentation file for `mete…
geanders Aug 18, 2016
86b8a7e
Use `bind_rows` instead of `rbind_all` in AQ vignette
geanders Aug 18, 2016
7818bf8
Add parameter definition for `df` to documentation for autoplot.meteo…
geanders Aug 18, 2016
d725b86
Change `ghcnd_search` to ensure that first and last date in date rang…
geanders Aug 18, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ man-roxygen
^\.Rproj\.user$
inst/img
inst/ignore
inst/user_test_cases
vignettes/margins.sty
CONTRIBUTING.md
^appveyor\.yml$
Expand All @@ -17,3 +18,4 @@ inst/vign/cache
README.Rmd
vignettes/figure
^CONDUCT\.md$
user_test_cases/
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.Rproj.user
.Rhistory
.RData
rnoaa.Rproj
.DS_Store
inst/ignore/bath.r
inst/cache/
inst/vign/cache
inst/doc
9 changes: 7 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ Imports:
ggplot2,
scales,
XML,
jsonlite
jsonlite,
rappdirs,
gridExtra
Suggests:
testthat,
roxygen2,
Expand All @@ -43,5 +45,8 @@ Suggests:
geojsonio,
lawn,
rgdal,
covr
rmarkdown,
purrr,
covr,
ggmap
RoxygenNote: 5.0.1
16 changes: 16 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export(argo_files)
export(argo_plan)
export(argo_qwmo)
export(argo_search)
export(autoplot.meteo_coverage)
export(buoy)
export(buoys)
export(coops_search)
Expand Down Expand Up @@ -61,6 +62,15 @@ export(is.ncdc_stations)
export(isd)
export(isd_stations)
export(isd_stations_search)
export(meteo_clear_cache)
export(meteo_coverage)
export(meteo_distance)
export(meteo_nearby_stations)
export(meteo_process_geographic_data)
export(meteo_pull_monitors)
export(meteo_show_cache)
export(meteo_spherical_distance)
export(meteo_tidy_ghcnd)
export(ncdc)
export(ncdc_combine)
export(ncdc_datacats)
Expand Down Expand Up @@ -97,6 +107,7 @@ export(swdi)
export(theme_ice)
export(tornadoes)
export(type_summ)
export(vis_miss)
importFrom(XML,htmlParse)
importFrom(XML,xmlParse)
importFrom(XML,xmlToList)
Expand All @@ -109,6 +120,7 @@ importFrom(dplyr,bind_rows)
importFrom(dplyr,contains)
importFrom(dplyr,filter)
importFrom(dplyr,mutate)
importFrom(dplyr,rbind_all)
importFrom(dplyr,rename)
importFrom(dplyr,select)
importFrom(dplyr,tbl_df)
Expand All @@ -122,8 +134,10 @@ importFrom(ggplot2,guide_legend)
importFrom(ggplot2,guides)
importFrom(ggplot2,labs)
importFrom(ggplot2,scale_x_date)
importFrom(ggplot2,scale_x_datetime)
importFrom(ggplot2,theme)
importFrom(ggplot2,theme_bw)
importFrom(gridExtra,grid.arrange)
importFrom(httr,GET)
importFrom(httr,add_headers)
importFrom(httr,build_url)
Expand All @@ -139,6 +153,8 @@ importFrom(lubridate,today)
importFrom(lubridate,year)
importFrom(lubridate,ymd)
importFrom(methods,is)
importFrom(rappdirs,user_cache_dir)
importFrom(scales,comma)
importFrom(scales,date_breaks)
importFrom(scales,date_format)
importFrom(stats,complete.cases)
Expand Down
12 changes: 12 additions & 0 deletions R/aaa.r
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# base app folder for rappdirs
rnoaa_app_name <- "rnoaa"
rnoaa_cache_dir <- rappdirs::user_cache_dir(rnoaa_app_name)

# for the caches for the meteo verbs
rnoaa_meteo_dir <- file.path(rnoaa_cache_dir, "meteo")

# Create cache dir on load if it doesn't exit
.onLoad <- function(libname, pkgname) {
dir.create(rnoaa_meteo_dir, showWarnings = FALSE, recursive = TRUE)
invisible()
}
Loading