Description Usage Arguments Examples
View source: R/downsample_ais.R
Returns null, just processes data from web
1 2 3 4 5 6 7 8 9 |
df |
The data frame consisting of the combinations of zones, years, months to process |
every_minutes |
How often algorithm finds the closest points to (e.g. 10 minute, 30 minute, etc) |
status_codes_to_keep |
Status codes to retain for downsampling. List here: https://help.marinetraffic.com/hc/en-us/articles/203990998-What-is-the-significance-of-the-AIS-Navigational-Status-Values- |
SOG_threshold |
threshold to to delete values less than this (corresponding to little or no movement) |
vessel_attr |
The attributes from the vessel table to join in |
voyage_attr |
The attributes from the voyage table to join in |
raw |
If true, no filtering based on time applied. Defaults to FALSE. |
1 2 3 4 5 | ## Not run:
df = data.frame("month"=1:4, "year" = 2009, "zone"=10)
downsample_ais(df, raw = TRUE) # gets raw data from marine cadastre
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.