-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
https://github.com/USGS-VIZLAB/gages-through-ages/blob/master/scripts/fetch/getData_siteRecords.R
One thing I am noticing is that we have some duplicated rows:
library(dplyr) # using data.in from process.disch_sites
filter(data.in$`disch-data`) %>% distinct() %>% nrow
[1] 582882
filter(data.in$`disch-data`) %>% nrow
[1] 583902here is one site in particular:
filter(data.in$`disch-data`, site_no == '02053200') %>% .$year %>% length()
[1] 116
filter(data.in$`disch-data`, site_no == '02053200') %>% .$year %>% unique() %>% length()
[1] 58Metadata
Metadata
Assignees
Labels
No labels