extract_fude {fude} | R Documentation |
Extract specified Fude Polygon data
Description
extract_fude()
extracts the specified data from the list returned by
read_fude()
.
Usage
extract_fude(data, year = NULL, city = NULL, list = TRUE)
Arguments
data |
List of |
year |
Years to be extracted. |
city |
Local government names or codes to be extracted. |
list |
logical. If |
Value
A list of sf::sf()
object(s).
See Also
Examples
path <- system.file("extdata", "castle.zip", package = "fude")
d <- read_fude(path, stringsAsFactors = FALSE, quiet = TRUE)
d2 <- extract_fude(d, year = 2022)
[Package fude version 0.3.6 Index]