filter_state: Filter data set to return specific states

View source: R/utils.R

filter_stateR Documentation

Filter data set to return specific states

Description

Filter data set to return specific states

Usage

filter_state(
  temp_sf = parent.frame()$temp_sf,
  code = parent.frame()$code_state
)

Arguments

temp_sf

An internal simple feature or data.frame

code

The two-digit code of a state or a two-letter uppercase abbreviation (e.g. 33 or "RJ"). If code_state="all" (the default), the function downloads all states.

Value

A simple feature sf or data.frame.


geobr documentation built on Sept. 11, 2024, 6:58 p.m.