Skip to content

Commit

Permalink
Merge pull request #94 from Spatiotemporal-Exposures-and-Toxicology/c…
Browse files Browse the repository at this point in the history
…leaning_pipeline

try to fix checks
  • Loading branch information
eva0marques authored Dec 15, 2023
2 parents 8269952 + 7f0b393 commit f2a2f7d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ import(data.table)
import(ggplot2)
import(spatialsample)
import(tidyr)
importFrom(data.table,"%>%")
importFrom(magrittr,"%>%")
2 changes: 1 addition & 1 deletion R/process_monitors.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' @param filename character path to noaa observations file
#' @returns a list with two datatable, one for the whole observations and
#' the other with the location metadata only
#' @importFrom data.table "%>%"
#' @importFrom magrittr "%>%"
#' @export
format_noaa_aws <- function(filename) {
na_flag <- NULL
Expand Down
1 change: 1 addition & 0 deletions R/process_spatial_covariates.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#' @param in_filepath A character path to data file with high resolution
#' @param out_filepath A character path to the folder where the aggregate file
#' will be stored
#' @importFrom magrittr "%>%"
agg_rast <- function(in_filepath, out_filepath, agg_fact = 30) {
raw <- terra::rast(in_filepath)
agg <- terra::aggregate(raw, fact = agg_fact, fun = "median") %>%
Expand Down
11 changes: 1 addition & 10 deletions vignettes/noaa_obs_processing_comparison_to_era5.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,8 @@ title: "NOAA observations processing and comparison to ERA5"
date: "2023-12-15"
author: "Eva Marques"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{NOAA observations processing and comparison to ERA5}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
```{r}
library(knitr)
# to base64 encode images
opts_knit$set(upload.fun = image_uri)
```


```{r}
input_path <- "../input/"
Expand Down

0 comments on commit f2a2f7d

Please sign in to comment.