1. Retrieve ACS commute data
2. Identify the source and destination networks
3. Calculate the edge density for each source-destination pair
4. Thin to a manageable number of nodes based on edge densities
5. plotQuarto Example
Introduction
I want to reproduce the figure from (Dash Nelson 2016) depicting commute networks in the United States based on US Census data.
Methods
Some pseudocode:
as code chunks
```{r}
#| eval: false
#| label: getacs
1. Retrieve ACS commute data
``````{r}
#| eval: false
#| label: buildnet
2. Identify the source and destination networks
``````{r}
#| eval: false
#| label: edgedens
3. Calculate the edge density for each source-destination pair
``````{r}
#| eval: false
#| label: thinnodes
4. Thin to a manageable number of nodes based on edge densities
``````{r}
#| eval: false
#| label: buildplot
5. Build plot
```Results
References
Dash Nelson, A., Garrett AND Rae. 2016. An economic geography of the united states: From commutes to megaregions. PLOS ONE 11:1–23.