Transform a data frame into a string formatted in GeoJSON
Usage
df2geojson(df, multipleValuesByTime = c())
Arguments
df
Data frame to convert in GeoJSON.
It must contain at least columns 'id', 'time', 'X' and 'Y'.
Additionnal columns will be added as features' properties.
multipleValuesByTime
Vector of strings indicating the df columns names which can contain several values by time.