geo_is_type: Allow to define "type" of geographic levels & area

View source: R/geography.r

geo_is_typeR Documentation

Allow to define "type" of geographic levels & area

Description

For example, it can be used to differenciate some code, corresponding to overseas area to mainland codes The use of the function is not standardized yet.

Usage

geo_is_type(geo, type, code)

Arguments

geo

geographic levelv

type

feature to test for level's codes

code

list of code of the level's area to test for the feature given in type

Details

TODO: should be a more generic function allowing to query "feature" about Not exported currently, only to be used by platform defined functions by default returns TRUE for all queried area

Value

logical vector of length of code

See Also

Other geography: geo_base_level(), geo_base_table(), geo_definition(), geo_hierarchy(), geo_level_nav(), geo_level_table(), geo_level(), get_geo_join(), load_geo_zone(), load_population_age(), load_population()


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.