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

Mm copy functions #15

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4862b0a
copy import* and covar* functions and tests from beethoven; remove un…
mitchellmanware Feb 12, 2024
3dab82d
geos test data
mitchellmanware Feb 12, 2024
d177b6a
hms test data
mitchellmanware Feb 12, 2024
a52ca4c
update README.md
mitchellmanware Feb 12, 2024
da145d4
update README.md
mitchellmanware Feb 12, 2024
1621d16
README table test
mitchellmanware Feb 13, 2024
936eca0
gmted test data
mitchellmanware Feb 13, 2024
831ab04
update README.md
mitchellmanware Feb 13, 2024
1ddd714
update README.md table
mitchellmanware Feb 13, 2024
c232ae9
update README.md table column width
mitchellmanware Feb 13, 2024
b65b229
update README.md table column width
mitchellmanware Feb 13, 2024
84f9380
README.md table; badges
mitchellmanware Feb 13, 2024
bcd19a8
update README.md
mitchellmanware Feb 13, 2024
e96598d
README.md headings and remove functions
mitchellmanware Feb 13, 2024
2779bfe
README.md description 1
mitchellmanware Feb 13, 2024
e358742
rename import_ > proces_ and covar_ > calc_; update tests
mitchellmanware Feb 14, 2024
0535fc2
combine covar.R with calculate_covariates.R
mitchellmanware Feb 14, 2024
ca65766
Merge pull request #11 from Spatiotemporal-Exposures-and-Toxicology/main
mitchellmanware Feb 15, 2024
7e57933
SEDAC population functions and tests
mitchellmanware Feb 15, 2024
489491f
Merge branch 'mm-copy-functions' of https://github.com/Spatiotemporal…
mitchellmanware Feb 15, 2024
0d8e76c
population test data set
mitchellmanware Feb 15, 2024
e31bba4
narr test data; move support functions
mitchellmanware Feb 16, 2024
a63c8ab
merge branch 'origin/main' into mm-copy-functions
mitchellmanware Feb 20, 2024
1be930b
clean up tests from mm-copy-functions branch
mitchellmanware Feb 20, 2024
af83a0e
documentation
mitchellmanware Feb 20, 2024
6b59582
stringi in DESCRIPTION; replace stringr with base R function; remove …
mitchellmanware Feb 20, 2024
26e3520
lint; additional HMS tests and data; remove daily check for process_g…
mitchellmanware Feb 21, 2024
dbbf54b
download_hms_data in download_function.Rmd
mitchellmanware Feb 21, 2024
cf74ffd
Sys.sleep(1) in test-download_functions.R
mitchellmanware Feb 21, 2024
2a33e6c
Sys.sleep(1) in test-download_functions.R
mitchellmanware Feb 21, 2024
00d3734
Sys.sleep(2)
mitchellmanware Feb 21, 2024
c072d79
Sys.sleep()'s again
mitchellmanware Feb 21, 2024
0ff1926
Merge remote-tracking branch 'origin/main' into mm-copy-functions
mitchellmanware Feb 21, 2024
99d3b1e
httr2 in check_urls()
mitchellmanware Feb 22, 2024
53ca832
within download URL checks; remove
mitchellmanware Feb 22, 2024
848e685
revert to commit 0ff1926
mitchellmanware Feb 23, 2024
3260656
rename geos folders; remove sites_NC.rds
mitchellmanware Feb 23, 2024
83c23b3
row expectation in calc_hms tests'
mitchellmanware Feb 23, 2024
37f8aea
sites_NC.rds in test-process.R
mitchellmanware Feb 23, 2024
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: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Authors@R: c(
)
Description: A Mechanism/Machine for Data, Environments, and User Setup package for health and climate research. It is fully tested, versioned, and open source and open access.
Depends: R (>= 4.1.0)
Imports: dplyr, sf, sftime, stats, terra, methods, data.table, httr, rvest, exactextractr, utils, stringr, testthat (>= 3.0.0), doParallel, parallelly, stars, foreach, future, tidyr, rlang
Imports: dplyr, sf, sftime, stats, terra, methods, data.table, httr, rvest, exactextractr, utils, stringi, testthat (>= 3.0.0), doParallel, parallelly, stars, foreach, future, tidyr, rlang
Suggests: covr, withr, knitr, rmarkdown, lwgeom, FNN, doRNG
Encoding: UTF-8
VignetteBuilder: knitr, rmarkdown
Expand Down
27 changes: 25 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
export(as_mysftime)
export(calc_covariates)
export(calc_ecoregion)
export(calc_geos)
export(calc_gmted)
export(calc_hms)
export(calc_koppen_geiger)
export(calc_modis_daily)
export(calc_modis_par)
export(calc_narr)
export(calc_nei)
export(calc_nlcd_ratio)
export(calc_sedac_population)
export(calc_sedc)
export(calc_temporal_dummies)
export(calc_tri)
Expand All @@ -27,14 +32,14 @@ export(download_ecoregion_data)
export(download_epa_certificate)
export(download_geos_cf_data)
export(download_gmted_data)
export(download_hms_data)
export(download_koppen_geiger_data)
export(download_merra2_data)
export(download_modis_data)
export(download_narr_monolevel_data)
export(download_narr_p_levels_data)
export(download_nei_data)
export(download_nlcd_data)
export(download_noaa_hms_smoke_data)
export(download_permit)
export(download_remove_command)
export(download_remove_zips)
Expand All @@ -49,20 +54,31 @@ export(download_unzip)
export(dt_to_mysftime)
export(extract_urls)
export(generate_date_sequence)
export(generate_time_sequence)
export(is_date_proper)
export(is_stdt)
export(process_bluemarble)
export(process_bluemarble_corners)
export(process_conformity)
export(process_ecoregion)
export(process_flatten_sds)
export(process_geos)
export(process_geos_collection)
export(process_gmted)
export(process_gmted_codes)
export(process_hms)
export(process_koppen_geiger)
export(process_locs_radius)
export(process_locs_vector)
export(process_modis_merge)
export(process_modis_sds)
export(process_modis_swath)
export(process_modis_warp)
export(process_narr)
export(process_nei)
export(process_nlcd)
export(process_sedac_codes)
export(process_sedac_population)
export(process_tri)
export(read_commands)
export(test_download_functions)
Expand Down Expand Up @@ -111,7 +127,9 @@ importFrom(stars,read_stars)
importFrom(stars,st_warp)
importFrom(stats,reshape)
importFrom(stats,setNames)
importFrom(stringr,str_split_i)
importFrom(stringi,stri_pad)
importFrom(terra,aggregate)
importFrom(terra,as.data.frame)
importFrom(terra,buffer)
importFrom(terra,coltab)
importFrom(terra,crop)
Expand All @@ -120,6 +138,7 @@ importFrom(terra,describe)
importFrom(terra,distance)
importFrom(terra,ext)
importFrom(terra,extract)
importFrom(terra,hasValues)
importFrom(terra,intersect)
importFrom(terra,is.rotated)
importFrom(terra,merge)
Expand All @@ -132,7 +151,11 @@ importFrom(terra,rast)
importFrom(terra,same.crs)
importFrom(terra,sds)
importFrom(terra,snap)
importFrom(terra,subset)
importFrom(terra,tapp)
importFrom(terra,time)
importFrom(terra,timeInfo)
importFrom(terra,varnames)
importFrom(terra,vect)
importFrom(testthat,expect_true)
importFrom(tidyr,pivot_wider)
Expand Down
Loading
Loading