The data.table
package has the operator %like%
, which is super handy for partial string matching:
"system with blue screen" %in% "blue"
> FALSE
"system with blue screen" %like% "blue"
> TRUE
Structured Procrastination on Cities, Transport Policy, Spatial Analysis, Demography, R
Urban form in both two- (2D) and three-dimensions (3D) has significant impacts on local and global environments. Here we developed the largest global dataset characterizing 2D and 3D urban growth for 478 cities with populations of one million or larger. Using remote sensing data from the SeaWinds scatterometer for 2001 and 2009, and the Global Human Settlement Layer for 2000 and 2014, we applied a cluster analysis and found five urban growth typologies: stabilized, outward, mature upward, budding outward, upward and outward. Budding outward is the dominant typology worldwide, per the largest total area. Cities characterized by upward and outward growth are few in number and concentrated primarily in China and South Korea, where there has been a large increase in high-rises during the study period. With the exception of East Asia, cities within a geographic region exhibit remarkably similar patterns of urban growth. Our results show that every city exhibits multiple urban growth typologies concurrently. Thus, while it is possible to describe a city by its dominant urban growth typology, a more accurate and comprehensive characterization would include some combination of the five typologies. The implications of the results for urban sustainability are multi-fold. First, the results suggest that there is considerable opportunity to shape future patterns of urbanization, given that most of the new urban growth is nascent and low magnitude outward expansion. Second, the clear geographic patterns and wide variations in the physical form of urban growth, within country and city, suggest that markets, national and subnational policies, including the absence of, can shape how cities grow. Third, the presence of different typologies within each city suggests the need for differentiated strategies for different parts of a single city. Finally, the new urban forms revealed in this analysis provide a first glimpse into the carbon lock-in of recently constructed energy-demanding infrastructure of urban settlements.
This dissertation uses income tax tabulations to estimate top income shares over the long-run for Brazil. Between 1926 and 2013, the concentration of income at the top of the distribution combined stability and change, diverging from the European and American patterns in the 20th century. Contrary to benign industrialization and modernization theories, there was no overarching, long-term trend. Most of the time the income share of the top 1% of the adult population fluctuated within a 20%--25% range, even in recent years. Still, top income shares had temporary yet significant ups and downs which largely coincided with the country's most important political cycles. The top 1% income share increased during the Estado Novo and World War II, then declined in the early post-war years and even more so in the second half of the 1950s. The 1964 coup d'état reversed that trend and income inequality rose back to post-war levels after a few years of military rule. The 1970s were marked by instability, but top income shares surged again in the 1980s. The share of the 1% then decreased somewhat in the 1990s and perhaps the mid-2000s. There were no real changes since then. In addition, this dissertation analyzes the concentration of income among the rich, provides international comparisons of top income shares, and contrasts the income tax series with estimates from household surveys. The income tax series are also used to compute “corrected” Gini coefficients which take into account the underestimation of top incomes in household surveys. The major research questions are comparative and historically oriented, and I argue in favor of an institutional interpretation of the results. The motivation for and implications of this approach are presented in the more theoretical chapters that precede the empirical analysis. In these chapters, I engage with the history of ideas about inequality and social stratification and highlight the long and heterogeneous tradition of studies about the rich and the wealthy. My main argument is that the academic and political concern with distributional issues flourishes when inequality is conceived in binary or dichotomous terms.
In human geography and the urban social sciences, the segregation literature typically engages with five conceptual dimensions along which a given society may be considered segregated: evenness, isolation, clustering, concentration and centralization (all of which can incorporate or omit spatial context). Over the last several decades, dozens of segregation indices have been proposed and studied in the literature, each of which is designed to focus on the nuances of a particular dimension, or correct an oversight in earlier work. Despite their increasing proliferation, however, few of these indices remain used in practice beyond their original conception, due in part to complex formulae and data requirements, particularly for indices that incorporate spatial context. Furthermore, existing segregation software typically fails to provide inferential frameworks for either single-value or comparative hypothesis testing. To fill this gap, we develop an open-source Python package designed as a submodule for the Python Spatial Analysis Library, PySAL. This new module tackles the problem of segregation point estimation for a wide variety of spatial and aspatial segregation indices, while providing a computationally based hypothesis testing framework that relies on simulations under the null hypothesis. We illustrate the use of this new library using tract-level census data in two American cities.
The evaluation of social impacts of transport policies has been attracting growing attention in recent years. Yet studies thus far have predominately focused on developed countries and overlooked whether equity assessment of transport projects is sensitive to the modifiable areal unit problem (MAUP). This paper investigates how investments in public transport can reshape socio-spatial inequalities in access to opportunities, and it examines how MAUP can influence the distributional effects of transport project evaluations. The study looks at Rio de Janeiro (Brazil) and the transformations carried out in the city in preparation for the 2014 World Cup and the 2016 Olympics, which involved substantial expansion in public transport infrastructure followed by cuts in service levels. The paper uses before-and-after comparison of Rio's transport network (2014-2017) and quasi-counterfactual analysis to examine how those policies affect access to schools and jobs for different income groups and whether the results are robust when the data is analyzed at different spatial scales and zoning schemes. Results show that subsequent cuts in service levels have offset the accessibility benefits of transport investments in a way that particularly penalizes the poor, and that those investments alone would still have generated larger accessibility gains for higher-income groups. These findings suggest that, contrary to Brazil’s official discourse of transport legacy, recent policies in Rio have exacerbated rather than reduced socio-spatial inequalities in access to opportunities. The study also shows that MAUP can influence the equity assessment of transport projects, suggesting that this issue should be addressed in future research.
1970: One more lane will fix it.— Urban Planning & Mobility (@urbanthoughts11) November 4, 2019
1980: One more lane will fix it.
1990: One more lane will fix it.
2000: One more lane will fix it.
2010: One more lane will fix it.
2020: ?pic.twitter.com/NjS1IPORG2
via @avelezig
Intergenerational upward economic mobility—the opportunity for children from poorer households to pull themselves up the economic ladder in adulthood—is a hallmark of a just society. In the United States, there are large regional differences in upward social mobility. The present research examined why it is easier to get ahead in some cities and harder in others. We identified the “walkability” of a city, how easy it is to get things done without a car, as a key factor in determining the upward social mobility of its residents. We 1st identified the relationship between walkability and upward mobility using tax data from approximately 10 million Americans born between 1980 and 1982. We found that this relationship is linked to both economic and psychological factors. Using data from the American Community Survey from over 3.66 million Americans, we showed that residents of walkable cities are less reliant on car ownership for employment and wages, significantly reducing 1 barrier to upward mobility. Additionally, in 2 studies, including 1 preregistered study (1,827 Americans; 1,466 Koreans), we found that people living in more walkable neighborhoods felt a greater sense of belonging to their communities, which is associated with actual changes in individual social class.
This paper explores how to push the field of regional studies beyond its present institutional, conceptual and methodological borders. It does this from five perspectives: innovation and competitiveness; globalization and urbanization; social and environmental justice; local and regional development; and industrial policy. It argues that the future of regional studies requires approaches that, in combination, result in the pushing on (by creating), pushing off (by consolidating), pushing back (by critiquing) and pushing forward (by collectively constructing) the field.
Resubmitting to different journals pic.twitter.com/9cpsPvxG2e— Oded Rechavi 🦉 (@OdedRechavi) October 7, 2019
How many jobs can one access in less than an hour using public transport? How long does it take to get to your nearest healthcare facility or school? The answers to these questions are a direct result of the urban and transport policies implemented in our cities. These policies largely determine the ease with which people from different social groups and income levels can access employment opportunities, health and education services. These policies play a key role in building more just and inclusive cities and reducing inequalities in access to opportunities. Although the issue of transport accessibility has been widely studied in cities in the Global North, this topic has received much less attention in the global South and particularly in Brazil.
My team and I at the Institute for Applied Economic Research (Ipea) are launching the Access to Opportunities Project to map and analyze urban accessibility in Brazilian cities. The purpose of the project is to estimate accessibility to job opportunities, schools and health services by public transport, walking, cycling and driving at high spatial resolution for all of the largest urban areas in the country. This year, the project will include public transport accessibility estimates for 6 major cities (São Paulo, Rio de Janeiro, Belo Horizonte, Fortaleza, Porto Alegre and Curitiba), as well as walking and cycling accessibility estimates for the 20 largest cities in Brazil. We are planning to expand the project soon to include other urban areas.
The Access to Opportunities Project is carried out in collaboration with the Institute for Transportation and Development Policy (ITDP - Brazil), and it will bring annual updates on the accessibility landscape of Brazilian cities. One of the expected results of the project is to generate a wealth of data that will be made publicly available to policy makers and researchers, with whom we will be able to collaborate to analzye particular case studies and conduct international comparative research.
"Between 2002 and 2010, both countries saw increases in transit use in their major cities. The average U.S. city’s ridership increased by 6 percent over that time (though the peak was in 2008). [...]. This trend has diverged dramatically since the Great Recession, however. While the average French urban region saw its ridership increase by 32 percent between 2010 and 2018, U.S. regions saw ridership decline by 6 percent on average."
The data.table
package has the operator %like%
, which is super handy for partial string matching:
"system with blue screen" %in% "blue"
> FALSE
"system with blue screen" %like% "blue"
> TRUE
Using a 1994 law change, we exploit quasi-experimental variation in the assignment of rent control in San Francisco to study its impacts on tenants and landlords. Leveraging new data tracking individuals' migration, we find rent control limits renters' mobility by 20 percent and lowers displacement from San Francisco. Landlords treated by rent control reduce rental housing supplies by 15 percent by selling to owner-occupants and redeveloping buildings. Thus, while rent control prevents displacement of incumbent renters in the short run, the lost rental housing supply likely drove up market rents in the long run, ultimately undermining the goals of the law.
In this paper, an in-depth examination of the use of ride-hailing (ridesourcing) in Santiago de Chile is presented based on data from an intercept survey implemented across the city in 2017. First, a sociodemographic analysis of ride-hailing users, usage habits, and trip characteristics is introduced, including a discussion of the substitution and complementarity of ride-hailing with existing public transport. It is found that (i) ride-hailing is mostly used for occasional trips, (ii) the modes most substituted by ride-hailing are public transport and traditional taxis, and (iii) for every ride-hailing rider that combines with public transport, there are 11 riders that substitute public transport. Generalised ordinal logit models are estimated; these show that (iv) the probability of sharing a (non-pooled) ride-hailing trip decreases with the household income of riders and increases for leisure trips, and that (v) the monthly frequency of ride-hailing use is larger among more affluent and younger travellers. Car availability is not statistically significant to explain the frequency of ride-hailing use when age and income are controlled; this result differs from previous ride-hailing studies. We position our findings in this extant literature and discuss the policy implications of our results to the regulation of ride-hailing services in Chile.
"Some people complain that this is the hottest summer in the last 125 years, but I like to think of it as the coolest summer of the next 125 years! Glass half full!" (Carter Bays)
BackgroundTimely access to emergency care can substantially reduce mortality. International benchmarks for access to emergency hospital care have been established to guide ambitions for universal health care by 2030. However, no Pan-African database of where hospitals are located exists; therefore, we aimed to complete a geocoded inventory of hospital services in Africa in relation to how populations might access these services in 2015, with focus on women of child bearing age.MethodsWe assembled a geocoded inventory of public hospitals across 48 countries and islands of sub-Saharan Africa, including Zanzibar, using data from various sources. We only included public hospitals with emergency services that were managed by governments at national or local levels and faith-based or non-governmental organisations. For hospital listings without geographical coordinates, we geocoded each facility using Microsoft Encarta (version 2009), Google Earth (version 7.3), Geonames, Fallingrain, OpenStreetMap, and other national digital gazetteers. We obtained estimates for total population and women of child bearing age (15–49 years) at a 1 km2 spatial resolution from the WorldPop database for 2015. Additionally, we assembled road network data from Google Map Maker Project and OpenStreetMap using ArcMap (version 10.5). We then combined the road network and the population locations to form a travel impedance surface. Subsequently, we formulated a cost distance algorithm based on the location of public hospitals and the travel impedance surface in AccessMod (version 5) to compute the proportion of populations living within a combined walking and motorised travel time of 2 h to emergency hospital services.FindingsWe consulted 100 databases from 48 sub-Saharan countries and islands, including Zanzibar, and identified 4908 public hospitals. 2701 hospitals had either full or partial information about their geographical coordinates. We estimated that 287 282 013 (29·0%) people and 64 495 526 (28·2%) women of child bearing age are located more than 2-h travel time from the nearest hospital. Marked differences were observed within and between countries, ranging from less than 25% of the population within 2-h travel time of a public hospital in South Sudan to more than 90% in Nigeria, Kenya, Cape Verde, Swaziland, South Africa, Burundi, Comoros, São Tomé and Príncipe, and Zanzibar. Only 16 countries reached the international benchmark of more than 80% of their populations living within a 2-h travel time of the nearest hospital.InterpretationPhysical access to emergency hospital care provided by the public sector in Africa remains poor and varies substantially within and between countries. Innovative targeting of emergency care services is necessary to reduce these inequities. This study provides the first spatial census of public hospital services in Africa.
geobr is an R package that allows users to easily download shapefiles of the Brazilian Institute of Geography and Statistics (IBGE) and other official spatial data sets of Brazil.
install.packages("geobr")
library(geobr)
library(sf)
library(magrittr)
library(dplyr)
The syntax of all geobr functions operate one the same logic. Here is a quick sample of a few functions and how to use them:
Read an specific geographic area at a given year
state <- read_state(code_state=11, year=2000) # State
micro <- read_micro_region(code_micro=110205, year=2000) # Micro region
munic <- read_municipality(code_muni=1200179, year=2017) # Municipality
...
Read all geographic areas within a state at a given year
micro <- read_micro_region(code_micro=15, year=2013) # Micro region
munic <- read_municipality(code_muni= 33, year=2010) # Municipality
# Or simply use the two-digit abbreviation of a state
micro <- read_micro_region(code_micro="PA", year=2000) # Micro region
munic <- read_municipality(code_muni= "RJ", year=2010) # Municipality
Read all geographic areas in the country
state <- read_state(code_state="all", year=2000) # State
micro <- read_micro_region(code_micro="all", year=2015) # Micro region
munic <- read_municipality(code_muni="all", year=2018) # Municipality
It's extremely simple to plot sf
spataial data using ggplot2::geom_sf()
. But let's make a nice plot to introduce geobr using data at various scales in the same figure.
library(ggplot2)
library(sf)
library(cowplot)
library(sysfonts)
library(grid)
library(beepr)
# download data
y <- 2010
state <- read_state(code_state="all", year=y)
mesor <- read_meso_region(code_meso="all", year=y)
micro <- read_micro_region(code_micro="all", year=y)
munic <- read_municipality(code_muni="all", year=y)
# No plot axis
no_axis <- theme(axis.title=element_blank(),
axis.text=element_blank(),
axis.ticks=element_blank())
# individual plots
p_state <- ggplot() + geom_sf(data=state, fill="#2D3E50", color="#FEBF57", size=.15, show.legend = FALSE) +
theme_minimal() +
no_axis +
labs(subtitle="States", size=8)
p_mesor <- ggplot() + geom_sf(data=mesor, fill="#2D3E50", color="#FEBF57", size=.15, show.legend = FALSE) +
theme_minimal() +
no_axis +
labs(subtitle="Meso regions", size=8)
p_micro <- ggplot() + geom_sf(data=micro, fill="#2D3E50", color="#FEBF57", size=.15, show.legend = FALSE) +
theme_minimal() +
no_axis +
labs(subtitle="Micro regions", size=8)
p_munic <- ggplot() + geom_sf(data=munic, fill="#2D3E50", color="#FEBF57", size=.05, show.legend = FALSE) +
theme_minimal() +
no_axis +
labs(subtitle="Municipalities", size=8)
# Arrange plots
p <- plot_grid(p_state, p_mesor, p_micro, p_munic, ncol = 2) #+ p_micro, p_munic
# add annotation
sysfonts::font_add_google(name = "Roboto", family = "Roboto") # add special text font
t1 <- grid::textGrob(expression(bold("geobr:")),
gp = gpar(fontsize=15, col="#2D3E50", fontfamily = "Roboto"), x = 0.1, y = .02)
t2 <- grid::textGrob(expression(underline("https://github.com/ipeaGIT/geobr")),
gp = gpar(fontsize=10, col="#000066"), x = 0.34, y = .02)
my_note <- annotation_custom(grobTree(t1, t2))
s <- p + my_note
# Save plot
ggsave(s, filename = "./plot_geobr_intro.png", width = 6, height = 6, dpi = 300)
beepr::beep()