The Recovery of U.S Restaurant Industry In 2021

How well the restaurant industry is recovering in 2021 with the impact of COVID-19?

Posted by Nick Kang · 8 mins read

U.S Restaurant industry of all could be affected by the pandemic the most due to the nature of the industry. It would be interesting to see how well the restaurant industry is recovering from Covid-19, more importantly, what is helping its recovery?

Data

Data of restaurant open for seated dinner is released by OpenTable. It is collected from restaurants of its own platform. The data is starting from Jan 28th, 2020 to Oct 28th, 2021. Over 50 restaurants are recorded and the result is calculated into a percentage by comparing its year over year comparison.

For example, of all restaurants that are recorded on OpenTable, the number of restaurants that are open for seated dinner on Jan 28th, 2019 is divided by the number of restaurants that are open for seated dinner on Jan 28th, 2020 and 2021. 0 % means that the same amount of restaurants are open on that day comparing to the same day in 2019.

Findings

By comparing time series data of restaurant open for seated dinner, COVID-19 positive test cases and vaccination, I am able to

  • Identify crucial moments when the recovery happens in different states.

  • Discover that the U.S restaurant industry is slowly recovering from the pandemic, but the impact of it is severe.

  • Vaccinations greatly boost the confidence for owners to reopen but the policy of mask order during the pandemic does not seem to affect the industry significantly.

U.S restaurant industy in recovery overivew

From the figure, the daily test positive cases does not show a dramatic increase, it does indicate that it is the start of the pandemic season. Then at the end of 2020, the restaurant industry is taking another hit while the whole country is experiencing its worst impact. Throughout the whole 2020, the trend of daily positive test cases is increasing and the trend of restaurants reopen is decreasing. There is no doubt that the whole industry is heavily damaged by the virus since the daily open percentage is never even close to what it was in 2019 at any given day in 2020. However, the trend changes in 2021 with help of vaccinations. By comparing all three line charts, the pandemic has another peak in September but the recovery of the industry is more stable comparing to last year. It could be the reason that more than half of people are vaccinated and are confident that the virus can be under control over the time.

California

Texas

```
# California
fig = plt.figure(figsize=(30,18))

spec = gridspec.GridSpec(ncols=2, nrows=2, width_ratios=[7,1], wspace=0.001,hspace=0.05)
ax0 = fig.add_subplot(spec[0])
ax1 = fig.add_subplot(spec[1])
ax2 = fig.add_subplot(spec[2])
ax3 = fig.add_subplot(spec[3])

y = p_t5['population']/1000000
y1 = [covid_tc.loc['2021/10/28']['California']/1000000,covid_tc.loc['2021/10/28']['Texas']/1000000
,covid_tc.loc['2021/10/28']['Florida']/1000000, covid_tc.loc['2021/10/28']['Illinois']/1000000
  ,covid_tc.loc['2021/10/28']['Georgia']/1000000]

for state in top_5_tc:
  s = top_5_tc[0]
  ax0.plot(res.index, res[state],color='dimgrey', linewidth=1)
  ax0.plot(res.index, res[s],color='crimson', linewidth=3.5)
  ax0.axhline(y=0, color='crimson', alpha = 0.5, linewidth=5, linestyle = ':') 
  ax0.text('2020/5/5', 100 , 'California',
       fontsize=25,color= 'crimson',  weight='bold')
  ax0.text('2020/5/5', 85 , 'Daily Restaurants open for reservations',
       fontsize=15,color= 'dimgrey',  weight='bold')
  ax0.text('2020/5/5', 75 , 'percentage comparing to 2019',
       fontsize=15,color= 'dimgrey',  weight='bold')
  ax0.text('2020/1/15', 5 , '0%', fontsize=20 ,color= 'dimgrey', weight='bold')
  ax0.text('2021/9/1', 100 , 'Population:', fontsize=20 ,color= 'dimgrey', weight='bold')
  ax0.text('2021/9/1', 90 , '37,254,519', fontsize=20 ,color= 'crimson', weight='bold')
  ax1.barh(p_t5.index,p_t5['population']/1000000, color='darkgrey')
  ax1.barh(s,p_t5.loc[s][0]/1000000, color='crimson')
  ax2.plot(covid_nc.index, covid_nc[state],color='dimgrey' , linewidth=1)
  ax2.plot(covid_nc.index, covid_nc[s],color='crimson' , linewidth=3.5) 
  ax2.text('2020/5/5', 60000 , 'Daily Covid Confirmed Positive Test',
       fontsize=18,color= 'dimgrey',  weight='bold')
  ax2.text('2021/6/10', 60000 , 'Total Confirmed Positive Test:',
     fontsize=20,color= 'dimgrey',  weight='bold')
  ax2.text('2021/8/15', 57000 , '4,885,289',
       fontsize=20,color= 'crimson',  weight='bold')
  ax3.barh(state,covid_tc[state]/1000000, color='darkgrey')
  ax3.barh(s,covid_tc[s]/1000000, color='crimson')

for a in [ax0, ax1, ax2, ax3]:

  a.spines['top'].set_visible(False)
  a.spines['right'].set_visible(False)
  a.spines['bottom'].set_visible(False)
  a.spines['left'].set_visible(False)
  a.set_yticks([])
  a.xaxis.set_major_locator(mdates.MonthLocator())

for i, v in enumerate(y):
  ax1.text(v , i, r_t5[i], color='white', fontweight='bold', fontsize=13, ha='right', va='center')

for i, v in enumerate(y1):
  ax3.text(v , i, top_5_tc[i] , color='white', fontweight='bold', fontsize=13, ha='right', va='center')

ax0.axvspan(dt.date(2020, 3, 1), dt.date(2020, 5, 1), facecolor='crimson', alpha=0.2)
ax0.axvspan(dt.date(2020, 11, 1), dt.date(2021, 3, 1), facecolor='crimson', alpha=0.2)
ax2.axvspan(dt.date(2020, 3, 1), dt.date(2020, 5, 1), facecolor='crimson', alpha=0.2)   
ax2.axvspan(dt.date(2020, 11, 1), dt.date(2021, 3, 1), facecolor='crimson', alpha=0.2)

plt.savefig('fig_2.png')
plt.show()
```

Nebraska

Rhode Island

Considering the difference of population in different states, I have picked two states from top 5 most populated states that have corresponding restaurant open data and those two are California and Texas. I have also picked two states from the bottom 5 least populated states that have corresponding restaurant open data and those two are Nebraska and Rhode Island. All four states’ restaurants open trend comparing to their daily positive test cases. From bar plots of all four graphs, they indicate that population rank is almost the same as the test positive cases rank. It could mean that more people are in a state, more infected case there is. It could also mean that none of them impose any effective methods to stop the pandemic.

All four states’ industries suffer a big drop at the start of the pandemic even though positive test cases does not show a drastic increase right away. And during the winter in 2020, the restaurant industry of all four states are at another bottom. However, having less population seems to have a faster recovery speed for the industry especially during the year of 2020. In 2021, however, four different states show different patterns due to various reasons. Except California, the other three states show that the restaurant industry is recovering to almost the same level as in 2019, which can be considered to be back to normal. By having the most population of all states in the country, California restaurant industry is still slowly climbing back to the normal stage.

The mask order

Another potential reason could be policy imposed by different states. Figure shows the difference of vaccination rate and mask order in four different states. California, having the most population and the most vaccinated population, is still the slowest for the recovery process; it is also the only state that imposes Mask Order throughout the whole time. It is clear that the vaccination rate in all four states has over 50% and it provides a huge boost for the restaurant industry. On the other hand, the mask order does not seem to affect the industry recovery at all, rather it shows the state of the pandemic. More importantly, the difference between California and Texas shows that there are some other reasons that delay the restaurant recovery.



Python pacakges that are used:

  • pandas
  • matplotlib
  • seaborn

Python code