Closed shauntruelove closed 4 years ago
Let's set the levels to mirror standard administrative levels: Country = 0 States, Provinces, Districts, etc. = 1 Departments, Counties, etc. = 2 ...
This defines the levels clearly: https://sedac.ciesin.columbia.edu/povmap/ds_defs_admin.jsp
sorry, depth from source is specifically how far down the tree one needs to traverse from the source (defaults to the tree root) in order to get to the result. not sure what level is. where does it appear?
maybe we should have an admin_level variable too that reflects the accepted admin level standards? the "level" column appears in my df after getting the full db with "get_location_metadata()". Check "R-in-dev/testing_and_exploring.R" to quickly see all of these issues.
These appear to be redundant. For some locations, level is NA. Remove level? Or maybe rename "depth_from_source" as "level", as that seems like the more intuitive name.