Skip to contents

This function joins NDS data with neighborhood data, ensuring the correct spatial reference and geometry types.

Usage

nds_join_neigh(ndsbr_data, neigh_data, vars = "NOME")

Arguments

ndsbr_data

An sf object representing NDS data. This object should have a POINT geometry type.

neigh_data

An sf object representing neighborhood data. This object should have a POLYGON geometry type.

vars

A character vector of variables to join from the neighborhood data. Default is "NOME".

Value

An sf object with the joined data, including neighborhood information.

Examples

result <- nds_join_neigh(ndsbr_data_sf, ippuc_neigh)