ianjonsen / foieGras
Showing 1 of 1 files from the diff.

@@ -110,9 +110,10 @@
Loading
110 110
  ## add GL error columns, if missing
111 111
  if((ncol(d) != 10 & !inherits(d, "sf")) | (ncol(d) != 9 & inherits(d, "sf"))) {
112 112
    d <- d %>%
113 -
      mutate(lonerr = NA, laterr = NA)
113 +
      mutate(lonerr = ifelse(lc == "GL", 5, NA), 
114 +
             laterr = ifelse(lc == "GL", 5, NA))
114 115
  }
115 -
116 +
  
116 117
  ##  convert dates to POSIXt
117 118
  ##  order records by time,
118 119
  ##  flag any duplicate date records,
@@ -127,7 +128,7 @@
Loading
127 128
    mutate(obs.type = ifelse(lc %in% c(3,2,1,0,"A","B","Z") & (is.na(smaj) | is.na(smin) |is.na(eor)), "LS", obs.type)) %>%
128 129
    mutate(obs.type = ifelse(lc == "G" & (is.na(smaj) | is.na(smin) |is.na(eor)), "GPS", obs.type)) %>%
129 130
    mutate(obs.type = ifelse(lc == "GL" & (is.na(smaj) | is.na(smin) |is.na(eor)) & (!is.na(lonerr) & !is.na(laterr)), "GLS", obs.type))
130 -
 
131 +
  
131 132
  
132 133
  ##  if any records with smaj/smin = 0 then set to NA and obs.type to "LS"
133 134
  ## convert error ellipse smaj & smin from m to km and eor from deg to rad
Files Coverage
R 79.35%
src 80.26%
Project Totals (26 files) 79.45%
1
comment: false
2

3
codecov:
4
  token: 972cfe9f-2f9b-4092-8241-2453c0475deb
5

6
ignore:
7
  - "R/print.ssm.R" 
8
  - "R/roxygentags.R"
9

10
coverage:
11
  status:
12
    project:
13
      default:
14
        target: auto
15
        threshold: 1%
16
    patch:
17
      default:
18
        target: auto
19
        threshold: 1%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading