read_locations | R Documentation |
Load Locations Dataset
read_locations(file, id = NULL, xy = c("lng", "lat"), proj4 = NULL, ...)
file |
The path of the file to be read. |
id |
Name of the column with a unique identifier (renamed to "id"). If |
xy |
(delimited text files only) Names of the columns with x and y coordinates (renamed to "lng", "lat" respectively). |
proj4 |
Current coordinate reference system expressed as a proj.4 string (http://proj4.org/parameters.html) or EPSG integer code (http://spatialreference.org/ref/epsg/). If specified, overrides any embedded value (spatial data). If |
... |
Additional parameters passed to |
Other location import functions: apply_match_table
,
build_match_table
,
match_names_to_ff_types
,
merge_overlapping_locations
,
write_locations_for_import
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.