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

Add area swept calculation to get_survey_sets #8

Open
seananderson opened this issue Jun 30, 2022 · 1 comment
Open

Add area swept calculation to get_survey_sets #8

seananderson opened this issue Jun 30, 2022 · 1 comment

Comments

@seananderson
Copy link
Member

data$area_swept1 <- data$doorspread_m * (data$speed_mpm * data$duration_min)
data$area_swept2 <- data$tow_length_m * data$doorspread_m
data$area_swept <- ifelse(!is.na(data$area_swept2), data$area_swept2, data$area_swept1)
data <- dplyr::filter(data, !is.na(area_swept))

Note area_km is stratum area! At least add to docs?

@ecophilina
Copy link
Contributor

This has been done in the trials branch. Awaits merge into master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants