Description Usage Arguments Value Examples
Format Specific MTBS Shapefile
1 2 3 4 5 6 7 | format_transform_mtbs(
dl_date,
mtbs_type,
orig_colnames,
tform_colnames,
ds_source = "mtbs"
)
|
dl_date |
(date) : Date in which the file were downloaded. This is going to look for a folder in the 'data/ds_source/' named as this date |
mtbs_type |
(character) : This specifies the type of MTBS data we want
to import and takes 2 values |
orig_colnames |
(array) : Name of the columns in the original shapefile |
tform_colnames |
(array) : Name of the columns in the transformed shapefile |
ds_source |
(character) : data names. Default to "mtbs" |
A sf data frame containing the shapefile contents
1 2 3 4 5 6 7 8 9 | ## Not run:
list_colnames <- mtbs_transform_col_names(mtbs_type = "mtbs_perimeter_data")
format_transform_mtbs(ds_source = "mtbs",
dl_date = base::as.Date("2019-07-06"),
mtbs_type = "mtbs_perimeter_data",
orig_colnames = list_colnames$ORIG_COLNAMES,
tform_colnames = list_colnames$TFORM_COLNAMES)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.