-
Notifications
You must be signed in to change notification settings - Fork 3
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
as_routes() - function to convert movement data to BirdFlowRoutes object. #158
Comments
Specifications and expectations of
|
When calculating track stats we shouldn't be limiting the track to locations the model thinks is valid. Therefore this function and |
|
as_route()
Alternate name possibilities:
convert_to_route()
as.BirdFlowRoutes()
(method of genericas
),Most of the work is already done by
snap_to_birdflow()
, issue #155, pr #157This would be a wrapper to
snap_to_birdflow()
that makes the output a formal BirdFlowRoutes object.At a minimum it needs to:
snap_to_birdflow()
id_cols
bf
to the attributes.metadata$route_type
to something possibly set by an additional argument. Output ofroute()
uses "synthetic" we need to figure out what types we allow for real data. I suspect it might be good to keep track of sensor type something like: "gps", "light" "modis", "banding". The MigConnectivity package has names it uses for different sensor types, be consistent with their terms if reasonable.A few other related cleanup items:
snap_to_birdflow()
frominterval_log_likelihood()
to eliminate redundant code.interval_log_likelihood()
are slightly different thansnap_to_birdflow()
standardize them.BirdFlowRoutes
produced byroute()
have a different column order thansnap_to_birdflow()
. Standardize.The text was updated successfully, but these errors were encountered: