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

trip babelfish #29

Open
mdsumner opened this issue Apr 11, 2019 · 2 comments
Open

trip babelfish #29

mdsumner opened this issue Apr 11, 2019 · 2 comments
Milestone

Comments

@mdsumner
Copy link
Member

mdsumner commented Apr 11, 2019

Here's a package list by rank popularity, candidates for supporting coercing from and/or to

cranpackages <- c("adehabitatLT", "amt", "animalTrack", "anipaths", "argosfilter", 
                   "AtmRay", "BayesianAnimalTracker", "BBMM", "bcpa", "bsam", "caribou", 
                   "crawl", "ctmcmove", "ctmm", "diveMove", "eyelinker", "eyetracking", 
                   "eyetrackingR", "fishmove", "FLightR", "gazepath", "GeoLight", 
                   "mdftracks", "mkde", "momentuHMM", "mousetrack", "mousetrap", 
                   "move", "movecost", "moveHMM", "moveVis", "moveWindSpeed", "opentraj", 
                   "psyosphere", "recurse", "riverdist", "rpostgisLT", "rsMove", 
                   "saccades", "SDLfilter", "SimilarityMeasures", "smam", "SpaTimeClus", 
                   "spatsoc", "stam", "stampr", "stplanr", "surveillance", "trackdem", 
                   "trackeR", "TrackReconstruction", "trajectories", "trajr", "trip", 
                   "tripEstimation", "VTrack", "wildlifeDI")

#idx <- match(cranpackages, names(pr))
#rank <- pr[idx]
#tib <- tibble::tibble(pkg = ordered(names(rank), names(rank)[order(pr)]), rank = rank) %>% arrange(rank)

tib <- structure(list(pkg = structure(c(52L, 50L, 47L, 41L, 17L, 53L, 
                                 55L, 32L, 35L, 22L, 51L, 23L, 13L, 5L, 1L, 26L, 15L, 49L, 34L, 
                                 39L, 43L, 29L, 14L, 6L, 7L, 37L, 3L, 45L, 36L, 42L, 4L, 40L, 
                                 12L, 54L, 57L, 25L, 24L, 18L, 19L, 9L, 20L, 16L, 30L, 48L, 21L, 
                                 28L, 2L, 44L, 31L, 10L, 8L, 27L, 46L, 38L, 56L, 11L, 33L), .Label = c("wildlifeDI", 
                                                                                                       "VTrack", "tripEstimation", "trip", "trajr", "trajectories", 
                                                                                                       "TrackReconstruction", "trackeR", "trackdem", "surveillance", 
                                                                                                       "stplanr", "stampr", "stam", "spatsoc", "SpaTimeClus", "smam", 
                                                                                                       "SimilarityMeasures", "SDLfilter", "saccades", "rsMove", "rpostgisLT", 
                                                                                                       "riverdist", "recurse", "psyosphere", "opentraj", "moveWindSpeed", 
                                                                                                       "moveVis", "moveHMM", "movecost", "move", "mousetrap", "mousetrack", 
                                                                                                       "momentuHMM", "mkde", "mdftracks", "GeoLight", "gazepath", "FLightR", 
                                                                                                       "fishmove", "eyetrackingR", "eyetracking", "eyelinker", "diveMove", 
                                                                                                       "ctmm", "ctmcmove", "crawl", "caribou", "bsam", "bcpa", "BBMM", 
                                                                                                       "BayesianAnimalTracker", "AtmRay", "argosfilter", "anipaths", 
                                                                                                       "animalTrack", "amt", "adehabitatLT"), class = c("ordered", "factor"
                                                                                                       )), rank = c(1.25328465019351e-05, 1.25328465019351e-05, 1.25328465019351e-05, 
                                                                                                                    1.25328465019351e-05, 1.25328465019351e-05, 2.00583913744539e-05, 
                                                                                                                    2.11489834878979e-05, 2.16041534420748e-05, 2.28699628154469e-05, 
                                                                                                                    2.67807932935839e-05, 2.7091613674666e-05, 2.80629274882798e-05, 
                                                                                                                    2.89140257758487e-05, 3.06664325787077e-05, 3.51216400430279e-05, 
                                                                                                                    3.54608260284459e-05, 3.54944660928874e-05, 3.57605413008909e-05, 
                                                                                                                    4.24960301131983e-05, 4.56895835513305e-05, 4.81546947191314e-05, 
                                                                                                                    4.83109904805244e-05, 5.0979566693558e-05, 5.13243834761015e-05, 
                                                                                                                    5.13838841391144e-05, 5.15477439079232e-05, 5.19823846212035e-05, 
                                                                                                                    5.24686741635625e-05, 5.38246863314369e-05, 5.64282995766835e-05, 
                                                                                                                    5.91630149048322e-05, 6.08853986127001e-05, 6.30780589163699e-05, 
                                                                                                                    6.57735607626925e-05, 7.01648950773614e-05, 7.81518714103533e-05, 
                                                                                                                    7.96790800423962e-05, 8.03440681307463e-05, 8.35523100125387e-05, 
                                                                                                                    8.55251524631279e-05, 8.88285570293813e-05, 9.12829348901513e-05, 
                                                                                                                    9.5737510520034e-05, 0.000100763021497795, 0.000105520162986647, 
                                                                                                                    0.000107213508328953, 0.000117743449953097, 0.000120005023201842, 
                                                                                                                    0.000122748550972725, 0.000123995962056712, 0.000124784474193621, 
                                                                                                                    0.00012553186230064, 0.000129669791531352, 0.000148082964442422, 
                                                                                                                    0.000190886017544753, 0.000194537991297809, 0.000274461048292481
                                                                                                       )), row.names = c(NA, -57L), class = c("tbl_df", "tbl", "data.frame"
                                                                                                       ))



print(dplyr::arrange(tib, desc(rank)), n = nrow(tib))
# A tibble: 57 x 2
   pkg                        rank
   <ord>                     <dbl>
 1 momentuHMM            0.000274 
 2 stplanr               0.000195 
 3 amt                   0.000191 
 4 FLightR               0.000148 
 5 crawl                 0.000130 
 6 moveVis               0.000126 
 7 trackeR               0.000125 
 8 surveillance          0.000124 
 9 mousetrap             0.000123 
10 ctmm                  0.000120 
11 VTrack                0.000118 
12 moveHMM               0.000107 
13 rpostgisLT            0.000106 
14 bsam                  0.000101 
15 move                  0.0000957
16 smam                  0.0000913
17 rsMove                0.0000888
18 trackdem              0.0000855
19 saccades              0.0000836
20 SDLfilter             0.0000803
21 psyosphere            0.0000797
22 opentraj              0.0000782
23 adehabitatLT          0.0000702
24 anipaths              0.0000658
25 stampr                0.0000631
26 eyetrackingR          0.0000609
27 trip                  0.0000592
28 eyelinker             0.0000564
29 GeoLight              0.0000538
30 ctmcmove              0.0000525
31 tripEstimation        0.0000520
32 gazepath              0.0000515
33 TrackReconstruction   0.0000514
34 trajectories          0.0000513
35 spatsoc               0.0000510
36 movecost              0.0000483
37 diveMove              0.0000482
38 fishmove              0.0000457
39 mkde                  0.0000425
40 bcpa                  0.0000358
41 SpaTimeClus           0.0000355
42 moveWindSpeed         0.0000355
43 wildlifeDI            0.0000351
44 trajr                 0.0000307
45 stam                  0.0000289
46 recurse               0.0000281
47 BayesianAnimalTracker 0.0000271
48 riverdist             0.0000268
49 mdftracks             0.0000229
50 mousetrack            0.0000216
51 animalTrack           0.0000211
52 argosfilter           0.0000201
53 AtmRay                0.0000125
54 BBMM                  0.0000125
55 caribou               0.0000125
56 eyetracking           0.0000125
57 SimilarityMeasures    0.0000125
@mdsumner mdsumner added this to the next-release milestone Apr 11, 2019
@mdsumner mdsumner mentioned this issue Apr 11, 2019
5 tasks
@mdsumner
Copy link
Member Author

  • VTrack, moveHMM, bsam, smam, SDLfilter are only data frames, all could have hueristics to detect them in a babeltrip()

  • move is a bit complicated for now

  • rsMove only has timestamp (chr) on SpatialPointsDataFrame

  • trackdem, saccades is not really us

  • trajectories, tracks and collections thereof is a SPDF + a dataframe of the edge properties

  • figure out who gets MoveBank and how it comes out

moveVis install is failing, need av - it's blocking installing a bunch of others

@mdsumner
Copy link
Member Author

needs review given the Tracking task view, and plenty of new packages since

@mdsumner mdsumner mentioned this issue Jun 15, 2020
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

1 participant