[ ] Step one: Using the state-level or equal-weighted electoral cartogram as input.
(* For later development: add functions to calculate the hierarchical layer/structure from original data automatically, such as calculate the number of electoral in each state.)
[ ] Step two: Create and modify the calculate_grid function, especially for the process of generating the number of hexagons for each region/state.
(* Main focus: an optimization function for a proper calculation of the number of hexagons in each state, such as according to the number of electoral, from Step one input.)
[ ] Step three: Correctly allocate/assign the statistical information on the hexagons, currently relying on assign_polygons.
( ? Improvement: including an indicator to quantify the quality of hexagon location/allocation)
Current Issue:
When I try to do the hierarchical cartogram at the state level, the geometry information is lost since the original data does not provide state-level geometry information. Hence using the Cartogram function to produce the state-level cartogram is not feasible without other modifications to the function codes.
Questions:
Should I use the equal-weighted (for each electoral) cartogram for the input and carry on modifying the calculate_grid function?
Do I need to find a way to implement this hierarchical information in the process? If so, in which step (refer to the above step list)?
Overview of the main task:
[ ] Step one: Using the state-level or equal-weighted electoral cartogram as input.
[ ] Step two: Create and modify the
calculate_grid
function, especially for the process of generating the number of hexagons for each region/state.Step one
input.)[ ] Step three: Correctly allocate/assign the statistical information on the hexagons, currently relying on
assign_polygons
.Current Issue: When I try to do the hierarchical cartogram at the state level, the geometry information is lost since the original data does not provide state-level geometry information. Hence using the Cartogram function to produce the state-level cartogram is not feasible without other modifications to the function codes.
Questions:
calculate_grid
function?