get_geomac_new_cnames: Set Shapefile column names given dictionary names fetched...

Description Usage Arguments Value

Description

Set Shapefile column names given dictionary names fetched from .xlsx data dictionary file.

Usage

1
2
3
4
5
6
7
8
get_geomac_new_cnames(
  fpath,
  year,
  ddict_type,
  ddict_xlsx_path,
  cols_rng,
  target_srid = 4326
)

Arguments

fpath

: shapefile path

year

: year the shapefile is referred to

ddict_type

: dictionary type - this needs to be corresponding to one of the data dictionaries retrieved in the .xlsx

ddict_xlsx_path

: path of the data dictionary .xlsx

cols_rng

: column ranges to extract from the .xlsx

target_srid

(numeric): Transform the geometries into this coordinate system, specified by SRID (default: 4326, GPS latitude/longitude)

Value

Shapefile dataframe


shamindras/backburner documentation built on Feb. 28, 2021, 12:20 a.m.