nz_make_centroids_df_from_csv
: Generate CentroidsGenerate Centroid dataframe from a csv file with the following columns "DGGID","X","Y"
nz_make_centroids_df_from_csv(csvpath)
Argument |Description
------------- |----------------
csvpath
| input csv file with the following columns "DGGID","X","Y" to reproject data you can use coord2=spTransform(coord2,CRS("+proj=laea +lon_0=0 +lat_0=90 +x_0=0 +y_0=0 +a=6378137 +rf=298.257223563"))
an object with the df parameter which is a df object of csv and a coords parameter which is an spatial dataframe object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.