View source: R/osm_cleanprocess.R
osm_cleanprocess | R Documentation |
This function does simple cleaning of the OSM data for lines, multipolygons and points
osm_cleanprocess( dt, dropNA_cols = TRUE, zero_NA = TRUE, missing_threshold = 0.3 )
dropNA_cols |
if TRUE, unnamed classifications of features are dropped. Note: This is different from the label "unclassified" as some features are tagged "NA" in OSM data (default is FALSE) |
zero_NA |
if TRUE, NA observations are left as zero (default is FALSE) |
missing_threshold |
numeric, if zero_NA is TRUE, missing_threshold is a value between 0 and 1. Columns with a rate of missing observations less than missing_threshold will have missing values converted to 0. |
a cleaned data.table object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.