Skip to content

Commit

Permalink
resolved get call in prep triprate #152 #156
Browse files Browse the repository at this point in the history
  • Loading branch information
erika-redding committed Jun 17, 2024
1 parent 1f3ff6b commit adca1b1
Show file tree
Hide file tree
Showing 248 changed files with 818 additions and 565 deletions.
4 changes: 2 additions & 2 deletions R/hts_prep_triprate.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ if (length(summarize_by) > 0) {
}

if (!weighted) {
triprate_dt = triprate_dt[, .(num_trips = sum(!is.na(get(trip_id)))),
triprate_dt = triprate_dt[, .(num_trips = sum(!is.na(get(..trip_id)))),
by = triprate_cols_all
]
}
Expand Down Expand Up @@ -282,4 +282,4 @@ return(prepped_dt_ls)
}

## quiets concerns of R CMD check
utils::globalVariables(c("trip_weight", "num_trips", "trip_rate", "day_weight", "trip_table"))
utils::globalVariables(c("..trip_id","trip_weight", "num_trips", "trip_rate", "day_weight", "trip_table"))
13 changes: 4 additions & 9 deletions docs/PULL_REQUEST_TEMPLATE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 7 additions & 30 deletions docs/articles/a01_getting_started.html

Large diffs are not rendered by default.

51 changes: 25 additions & 26 deletions docs/articles/a02_geographic_summaries.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions docs/articles/a03_trip_rates.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/deps/bootstrap-5.3.1/bootstrap.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit adca1b1

Please sign in to comment.