Aggregated and anonymized purchase data from consumer credit and debit card spending. Spending is reported based on the ZIP code where the cardholder lives, not the ZIP code where transactions occurred.

econ_tracker_consumer_spending_city_data()

econ_tracker_consumer_spending_county_data()

econ_tracker_consumer_spending_state_data()

econ_tracker_consumer_spending_national_data()

Source

  • Affinity Solutions via Opportunity Insight econ tracker

  • Update Frequency: Weekly

Details

Data are Seasonally adjusted change since January 2020. Data is indexed in 2019 and 2020 as the change relative to the January index period. We then seasonally adjust by dividing year-over-year, which represents the difference between the change since January observed in 2020 compared to the change since January observed since 2019. We account for differences in the dates of federal holidays between 2019 and 2020 by shifting the 2019 reference data to align the holidays before performing the year-over-year division.

Geographies: National, State, County, Metro

Breakdowns:

By Industry. Industries are constructed by grouping merchant codes that are used by Affinity Solutions to identify the category of merchant and merchant activity.

  • Apparel and General Merchandise

  • Entertainment and Recreation

  • Grocery

  • Health Care

  • Resturants and Hotels

  • Transportation

By Consumer Zip Code Income. Transactions are linked to zip codes where the consumer lives and zip codes are classified into income categories based on measurements of median household income and population provided by the American Community Survey (2014 - 2018).

  • High Income (median household income greater than $78,000 per year)

  • Middle Income (median household income between $46,000 per year and $78,000 per year)

  • Low Income (median household income less than $46,000 per year)

Column descriptions

  • spend_all: Seasonally adjusted credit/debit card spending relative to January 4-31 2020 in all merchant category codes (MCC), 7 day moving average.

  • spend_acf: Seasonally adjusted credit/debit card spending relative to January 4-31 2020 in accomodation and food service (ACF) MCCs, 7 day moving average, 7 day moving average.

  • spend_aer: Seasonally adjusted credit/debit card spending relative to January 4-31 2020 in arts, entertainment, and recreation (AER) MCCs, 7 day moving average.

  • spend_apg: Seasonally adjusted credit/debit card spending relative to January 4-31 2020 in general merchandise stores (GEN) and apparel and accessories (AAP) MCCs, 7 day moving average.

  • spend_grf: Seasonally adjusted credit/debit card spending relative to January 4-31 2020 in grocery and food store (GRF) MCCs, 7 day moving average.

  • spend_hcs: Seasonally adjusted credit/debit card spending relative to January 4-31 2020 in health care and social assistance (HCS) MCCs, 7 day moving average.

  • spend_tws: Seasonally adjusted credit/debit card spending relative to January 4-31 2020 in transportation and warehousing (TWS) MCCs, 7 day moving average.

  • spend_all_inchigh: Seasonally adjusted credit/debit card spending by consumers living in ZIP codes with high (top quartile) median income, relative to January 4-31 2020 in all merchant category codes (MCC), 7 day moving average.

  • spend_all_incmiddle: Seasonally adjusted credit/debit card spending by consumers living in ZIP codes with middle (middle two quartiles) median income, relative to January 4-31 2020 in all merchant category codes (MCC), 7 day moving average.

  • spend_all_inclow: Seasonally adjusted credit/debit card spending by consumers living in ZIP codes with low (bottom quartiles) median income, relative to January 4-31 2020 in all merchant category codes (MCC), 7 day moving average.

  • spend_all_q2: Seasonally adjusted credit/debit card spending by consumers living in ZIP codes in the second quartile (i.e. second lowest) of median incomes, relative to January 4-31 2020 in all merchant category codes (MCC), 7 day moving average.

  • spend_all_q3: Seasonally adjusted credit/debit card spending by consumers living in ZIP codes in the third quartile (i.e. second highest) of median incomes, relative to January 4-31 2020 in all merchant category codes (MCC), 7 day moving average.

Note

The raw data contains discontinuous breaks caused by entry or exit of credit card providers from the sample. In order to reliably identify and correct these breaks, we require at least 3 weeks of data. The most recent 3 weeks of data are therefore marked 'provisional' and are subject to non-negligible changes as new data is posted. For breaks found prior to the last 3 weeks, we correct for it using a method outlined in the paper. Otherwise we substitute the national mean for more recent breaks while we gather enough data to implement the corrections outlined in the paper. Additionally, at the county-level when are there more than one structural breaks the data is too noisy to correct for these breaks and counties with multiple breaks are dropped from the sample. Lastly, Affinity Solutions suppresses any cut of the data with fewer than five transactions. For more details refer to the accompanying paper.

Author

Sean Davis seandavi@gmail.com

Examples

res = econ_tracker_consumer_spending_city_data()
res
#>        cityid    cityname stateabbrev  statename statefips   lat     lon
#>     1:      1 Los Angeles          CA California     00006 34.05 -118.24
#>     2:      1 Los Angeles          CA California     00006 34.05 -118.24
#>     3:      1 Los Angeles          CA California     00006 34.05 -118.24
#>     4:      1 Los Angeles          CA California     00006 34.05 -118.24
#>     5:      1 Los Angeles          CA California     00006 34.05 -118.24
#>    ---                                                                  
#> 43676:     53       Tulsa          OK   Oklahoma     00040 36.15  -95.99
#> 43677:     53       Tulsa          OK   Oklahoma     00040 36.15  -95.99
#> 43678:     53       Tulsa          OK   Oklahoma     00040 36.15  -95.99
#> 43679:     53       Tulsa          OK   Oklahoma     00040 36.15  -95.99
#> 43680:     53       Tulsa          OK   Oklahoma     00040 36.15  -95.99
#>        city_pop2019 freq spend_all spend_aap spend_acf spend_aer spend_apg
#>     1:     10039107    d        NA        NA        NA        NA        NA
#>     2:     10039107    d        NA        NA        NA        NA        NA
#>     3:     10039107    d        NA        NA        NA        NA        NA
#>     4:     10039107    d        NA        NA        NA        NA        NA
#>     5:     10039107    d        NA        NA        NA        NA        NA
#>    ---                                                                    
#> 43676:       651552    d     0.134  -0.02830     0.129  -0.07470     0.126
#> 43677:       651552    d     0.151   0.02020     0.157  -0.06920     0.174
#> 43678:       651552    d     0.164  -0.02680     0.155   0.00188     0.178
#> 43679:       651552    d     0.138  -0.06270     0.128  -0.02750     0.151
#> 43680:       651552    w     0.153   0.00706     0.137        NA     0.203
#>        spend_durables spend_nondurables spend_grf spend_gen spend_hic spend_hcs
#>     1:             NA                NA        NA        NA        NA        NA
#>     2:             NA                NA        NA        NA        NA        NA
#>     3:             NA                NA        NA        NA        NA        NA
#>     4:             NA                NA        NA        NA        NA        NA
#>     5:             NA                NA        NA        NA        NA        NA
#>    ---                                                                         
#> 43676:          0.179            0.0640  -0.01170     0.198    0.1440    0.0792
#> 43677:          0.179            0.0804  -0.01320     0.249    0.1590    0.0484
#> 43678:          0.145            0.0969   0.00109     0.275    0.0992    0.1070
#> 43679:          0.129            0.0555  -0.03820     0.256   -0.0122    0.1060
#> 43680:          0.281            0.0956   0.00520     0.302    0.1580    0.2830
#>        spend_inpersonmisc spend_remoteservices spend_sgh spend_tws
#>     1:                 NA                   NA        NA        NA
#>     2:                 NA                   NA        NA        NA
#>     3:                 NA                   NA        NA        NA
#>     4:                 NA                   NA        NA        NA
#>     5:                 NA                   NA        NA        NA
#>    ---                                                            
#> 43676:             0.0454                0.292        NA     0.104
#> 43677:             0.0569                0.318        NA    -0.111
#> 43678:             0.1110                0.324        NA     0.124
#> 43679:             0.0689                0.305        NA     0.134
#> 43680:             0.1980                0.286        NA    -0.209
#>        spend_retail_w_grocery spend_retail_no_grocery provisional       date
#>     1:                     NA                      NA           0 2018-12-31
#>     2:                     NA                      NA           0 2020-01-01
#>     3:                     NA                      NA           0 2020-01-02
#>     4:                     NA                      NA           0 2020-01-03
#>     5:                     NA                      NA           0 2020-01-04
#>    ---                                                                      
#> 43676:                 0.0799                      NA           1 2022-04-14
#> 43677:                 0.0843                      NA           1 2022-04-15
#> 43678:                 0.0877                      NA           1 2022-04-16
#> 43679:                 0.0503                      NA           1 2022-04-17
#> 43680:                 0.1400                      NA           1 2022-04-24

res = econ_tracker_consumer_spending_county_data()
res
#>          countyfips countyname cityid cityname    cz     czname statename
#>       1:      01001    Autauga     NA          11101 Montgomery   Alabama
#>       2:      01001    Autauga     NA          11101 Montgomery   Alabama
#>       3:      01001    Autauga     NA          11101 Montgomery   Alabama
#>       4:      01001    Autauga     NA          11101 Montgomery   Alabama
#>       5:      01001    Autauga     NA          11101 Montgomery   Alabama
#>      ---                                                                 
#> 1505701:      56045     Weston     NA          34601   Gillette   Wyoming
#> 1505702:      56045     Weston     NA          34601   Gillette   Wyoming
#> 1505703:      56045     Weston     NA          34601   Gillette   Wyoming
#> 1505704:      56045     Weston     NA          34601   Gillette   Wyoming
#> 1505705:      56045     Weston     NA          34601   Gillette   Wyoming
#>          statefips stateabbrev county_pop2019 freq spend_all provisional
#>       1:     00001          AL          55869    d        NA           0
#>       2:     00001          AL          55869    d        NA           0
#>       3:     00001          AL          55869    d        NA           0
#>       4:     00001          AL          55869    d        NA           0
#>       5:     00001          AL          55869    d        NA           0
#>      ---                                                                
#> 1505701:     00056          WY           6927    d    0.1160           0
#> 1505702:     00056          WY           6927    d    0.0724           0
#> 1505703:     00056          WY           6927    d    0.0782           0
#> 1505704:     00056          WY           6927    d    0.1030           0
#> 1505705:     00056          WY           6927    w    0.0812           0
#>                date
#>       1: 2018-12-31
#>       2: 2020-01-01
#>       3: 2020-01-02
#>       4: 2020-01-03
#>       5: 2020-01-04
#>      ---           
#> 1505701: 2022-04-14
#> 1505702: 2022-04-15
#> 1505703: 2022-04-16
#> 1505704: 2022-04-17
#> 1505705: 2022-04-24


res = econ_tracker_consumer_spending_state_data()
res
#>        statefips statename stateabbrev state_pop2019 freq spend_all spend_aap
#>     1:     00001   Alabama          AL       4903185    d        NA        NA
#>     2:     00001   Alabama          AL       4903185    d        NA        NA
#>     3:     00001   Alabama          AL       4903185    d        NA        NA
#>     4:     00001   Alabama          AL       4903185    d        NA        NA
#>     5:     00001   Alabama          AL       4903185    d        NA        NA
#>    ---                                                                       
#> 42836:     00056   Wyoming          WY        578759    d     0.397    0.3550
#> 42837:     00056   Wyoming          WY        578759    d     0.406    0.2340
#> 42838:     00056   Wyoming          WY        578759    d     0.396    0.2300
#> 42839:     00056   Wyoming          WY        578759    d     0.332    0.0966
#> 42840:     00056   Wyoming          WY        578759    w     0.362    0.1260
#>        spend_acf spend_aer spend_apg spend_durables spend_nondurables spend_grf
#>     1:        NA        NA        NA             NA                NA        NA
#>     2:        NA        NA        NA             NA                NA        NA
#>     3:        NA        NA        NA             NA                NA        NA
#>     4:        NA        NA        NA             NA                NA        NA
#>     5:        NA        NA        NA             NA                NA        NA
#>    ---                                                                         
#> 42836:     0.249    0.6080     0.639          0.499             0.325    0.0430
#> 42837:     0.270    0.5130     0.576          0.456             0.334    0.0921
#> 42838:     0.230    0.2690     0.573          0.436             0.357    0.1170
#> 42839:     0.191    0.0494     0.433          0.372             0.268    0.0059
#> 42840:     0.133        NA     0.453          0.522             0.269    0.0132
#>        spend_gen spend_hic spend_hcs spend_inpersonmisc spend_remoteservices
#>     1:        NA        NA        NA                 NA                   NA
#>     2:        NA        NA        NA                 NA                   NA
#>     3:        NA        NA        NA                 NA                   NA
#>     4:        NA        NA        NA                 NA                   NA
#>     5:        NA        NA        NA                 NA                   NA
#>    ---                                                                      
#> 42836:     0.842     0.503     0.435              0.475                0.540
#> 42837:     0.816     0.475     0.388              0.467                0.601
#> 42838:     0.817     0.454     0.320              0.390                0.566
#> 42839:     0.674     0.383     0.328              0.184                0.573
#> 42840:     0.687     0.382     0.339              0.479                0.588
#>        spend_sgh spend_tws spend_retail_w_grocery spend_retail_no_grocery
#>     1:        NA        NA                     NA                      NA
#>     2:        NA        NA                     NA                      NA
#>     3:        NA        NA                     NA                      NA
#>     4:        NA        NA                     NA                      NA
#>     5:        NA        NA                     NA                      NA
#>    ---                                                                   
#> 42836:     0.789        NA                  0.317                   0.612
#> 42837:     0.822        NA                  0.312                   0.558
#> 42838:     0.641        NA                  0.327                   0.564
#> 42839:     0.473        NA                  0.213                   0.450
#> 42840:     0.576        NA                  0.273                   0.542
#>        spend_all_incmiddle spend_all_q1 spend_all_q2 spend_all_q3 spend_all_q4
#>     1:                  NA           NA           NA           NA           NA
#>     2:                  NA           NA           NA           NA           NA
#>     3:                  NA           NA           NA           NA           NA
#>     4:                  NA           NA           NA           NA           NA
#>     5:                  NA           NA           NA           NA           NA
#>    ---                                                                        
#> 42836:               0.419        0.325        0.438        0.403        0.245
#> 42837:               0.432        0.352        0.433        0.430        0.246
#> 42838:               0.424        0.303        0.423        0.425        0.239
#> 42839:               0.365        0.246        0.376        0.357        0.175
#> 42840:               0.389        0.318        0.365        0.407        0.223
#>        provisional       date
#>     1:           0 2018-12-31
#>     2:           0 2020-01-01
#>     3:           0 2020-01-02
#>     4:           0 2020-01-03
#>     5:           0 2020-01-04
#>    ---                       
#> 42836:           1 2022-04-14
#> 42837:           1 2022-04-15
#> 42838:           1 2022-04-16
#> 42839:           1 2022-04-17
#> 42840:           1 2022-04-24

res = econ_tracker_consumer_spending_national_data()
res
#>       freq spend_all spend_aap spend_acf spend_aer spend_apg spend_durables
#>    1:    d        NA        NA        NA        NA        NA             NA
#>    2:    d        NA        NA        NA        NA        NA             NA
#>    3:    d        NA        NA        NA        NA        NA             NA
#>    4:    d        NA        NA        NA        NA        NA             NA
#>    5:    d        NA        NA        NA        NA        NA             NA
#>   ---                                                                      
#> 1201:    d     0.171    0.1040     0.168    0.1450     0.305          0.188
#> 1202:    d     0.173    0.1180     0.169    0.1360     0.324          0.195
#> 1203:    d     0.171    0.1110     0.152    0.1100     0.322          0.185
#> 1204:    d     0.143    0.0539     0.108    0.0771     0.228          0.147
#> 1205:    w     0.162    0.0780     0.128    0.1260     0.241          0.184
#>       spend_nondurables spend_grf spend_gen spend_hic spend_hcs
#>    1:                NA        NA        NA        NA        NA
#>    2:                NA        NA        NA        NA        NA
#>    3:                NA        NA        NA        NA        NA
#>    4:                NA        NA        NA        NA        NA
#>    5:                NA        NA        NA        NA        NA
#>   ---                                                          
#> 1201:             0.202     0.133     0.447     0.244     0.127
#> 1202:             0.218     0.165     0.469     0.257     0.115
#> 1203:             0.226     0.193     0.470     0.244     0.108
#> 1204:             0.163     0.115     0.351     0.175     0.107
#> 1205:             0.163     0.105     0.354     0.227     0.101
#>       spend_inpersonmisc spend_remoteservices spend_sgh spend_tws
#>    1:                 NA                   NA        NA        NA
#>    2:                 NA                   NA        NA        NA
#>    3:                 NA                   NA        NA        NA
#>    4:                 NA                   NA        NA        NA
#>    5:                 NA                   NA        NA        NA
#>   ---                                                            
#> 1201:           0.084500                0.219     0.377        NA
#> 1202:           0.072900                0.214     0.400        NA
#> 1203:           0.059400                0.217     0.384        NA
#> 1204:           0.021700                0.245     0.316        NA
#> 1205:           0.000668                0.291     0.339        NA
#>       spend_retail_w_grocery spend_retail_no_grocery spend_all_incmiddle
#>    1:                     NA                      NA                  NA
#>    2:                     NA                      NA                  NA
#>    3:                     NA                      NA                  NA
#>    4:                     NA                      NA                  NA
#>    5:                     NA                      NA                  NA
#>   ---                                                                   
#> 1201:                  0.228                   0.297               0.174
#> 1202:                  0.250                   0.312               0.178
#> 1203:                  0.256                   0.303               0.177
#> 1204:                  0.180                   0.230               0.147
#> 1205:                  0.196                   0.258               0.164
#>       spend_all_q1 spend_all_q2 spend_all_q3 spend_all_q4 spend_19_aap
#>    1:           NA           NA           NA           NA           NA
#>    2:           NA           NA           NA           NA           NA
#>    3:           NA           NA           NA           NA           NA
#>    4:           NA           NA           NA           NA           NA
#>    5:           NA           NA           NA           NA           NA
#>   ---                                                                 
#> 1201:        0.234        0.175        0.174        0.139        0.299
#> 1202:        0.234        0.178        0.178        0.141        0.323
#> 1203:        0.228        0.176        0.177        0.140        0.320
#> 1204:        0.198        0.146        0.147        0.113        0.250
#> 1205:        0.218        0.159        0.169        0.135        0.284
#>       spend_19_acf spend_19_aer spend_19_all spend_19_apg spend_19_durables
#>    1:           NA           NA           NA           NA                NA
#>    2:           NA           NA           NA           NA                NA
#>    3:           NA           NA           NA           NA                NA
#>    4:           NA           NA           NA           NA                NA
#>    5:           NA           NA           NA           NA                NA
#>   ---                                                                      
#> 1201:        0.298        0.229        0.222        0.445             0.230
#> 1202:        0.303        0.286        0.243        0.476             0.249
#> 1203:        0.289        0.294        0.248        0.486             0.238
#> 1204:        0.243        0.263        0.208        0.371             0.185
#> 1205:        0.283        0.273        0.208        0.409             0.267
#>       spend_19_gen spend_19_grf spend_19_hcs spend_19_hic spend_19_inpersonmisc
#>    1:           NA           NA           NA           NA                    NA
#>    2:           NA           NA           NA           NA                    NA
#>    3:           NA           NA           NA           NA                    NA
#>    4:           NA           NA           NA           NA                    NA
#>    5:           NA           NA           NA           NA                    NA
#>   ---                                                                          
#> 1201:        0.537       0.1480       0.0941        0.688                0.0559
#> 1202:        0.573       0.1950       0.1070        0.704                0.0606
#> 1203:        0.591       0.2430       0.1040        0.684                0.0592
#> 1204:        0.448       0.1760       0.0957        0.563                0.0314
#> 1205:        0.487       0.0649       0.0991        0.780                0.0444
#>       spend_19_nondurables spend_19_remoteservices spend_19_sgh spend_19_tws
#>    1:                   NA                      NA           NA           NA
#>    2:                   NA                      NA           NA           NA
#>    3:                   NA                      NA           NA           NA
#>    4:                   NA                      NA           NA           NA
#>    5:                   NA                      NA           NA           NA
#>   ---                                                                       
#> 1201:                0.303                   0.263        0.397      -0.0424
#> 1202:                0.329                   0.289        0.428      -0.0470
#> 1203:                0.350                   0.300        0.418      -0.0612
#> 1204:                0.283                   0.297        0.337      -0.0783
#> 1205:                0.263                   0.241        0.401      -0.0489
#>       spend_19_all_q4 spend_19_all_q1 spend_19_all_incmiddle spend_19_all_q2
#>    1:              NA              NA                     NA              NA
#>    2:              NA              NA                     NA              NA
#>    3:              NA              NA                     NA              NA
#>    4:              NA              NA                     NA              NA
#>    5:              NA              NA                     NA              NA
#>   ---                                                                       
#> 1201:           0.185           0.300                  0.230           0.231
#> 1202:           0.205           0.319                  0.252           0.252
#> 1203:           0.210           0.325                  0.258           0.258
#> 1204:           0.171           0.287                  0.217           0.217
#> 1205:           0.172           0.286                  0.215           0.214
#>       spend_19_all_q3 spend_aap_q1 spend_acf_q1 spend_aer_q1 spend_apg_q1
#>    1:              NA           NA           NA           NA           NA
#>    2:              NA           NA           NA           NA           NA
#>    3:              NA           NA           NA           NA           NA
#>    4:              NA           NA           NA           NA           NA
#>    5:              NA           NA           NA           NA           NA
#>   ---                                                                    
#> 1201:           0.229       0.1470        0.201        0.319        0.366
#> 1202:           0.251       0.1630        0.202        0.287        0.386
#> 1203:           0.258       0.1440        0.185        0.254        0.376
#> 1204:           0.216       0.0776        0.138        0.216        0.289
#> 1205:           0.216       0.1360        0.158        0.257        0.325
#>       spend_durables_q1 spend_gen_q1 spend_grf_q1 spend_hcs_q1 spend_hic_q1
#>    1:                NA           NA           NA           NA           NA
#>    2:                NA           NA           NA           NA           NA
#>    3:                NA           NA           NA           NA           NA
#>    4:                NA           NA           NA           NA           NA
#>    5:                NA           NA           NA           NA           NA
#>   ---                                                                      
#> 1201:             0.221        0.500        0.138        0.176        0.307
#> 1202:             0.225        0.523        0.168        0.162        0.308
#> 1203:             0.212        0.518        0.190        0.148        0.282
#> 1204:             0.179        0.421        0.119        0.145        0.213
#> 1205:             0.219        0.434        0.120        0.147        0.261
#>       spend_inpersonmisc_q1 spend_nondurables_q1 spend_remoteservices_q1
#>    1:                    NA                   NA                      NA
#>    2:                    NA                   NA                      NA
#>    3:                    NA                   NA                      NA
#>    4:                    NA                   NA                      NA
#>    5:                    NA                   NA                      NA
#>   ---                                                                   
#> 1201:                0.1630                0.236                   0.315
#> 1202:                0.1520                0.249                   0.301
#> 1203:                0.1440                0.253                   0.296
#> 1204:                0.1200                0.199                   0.305
#> 1205:                0.0787                0.206                   0.346
#>       spend_sgh_q1 spend_tws_q1 spend_retail_no_grocery_q1
#>    1:           NA           NA                         NA
#>    2:           NA           NA                         NA
#>    3:           NA           NA                         NA
#>    4:           NA           NA                         NA
#>    5:           NA           NA                         NA
#>   ---                                                     
#> 1201:        0.448      0.06370                      0.356
#> 1202:        0.471      0.05870                      0.368
#> 1203:        0.441      0.01950                      0.348
#> 1204:        0.372      0.00797                      0.278
#> 1205:        0.369      0.00293                      0.327
#>       spend_retail_w_grocery_q1 spend_aap_q2 spend_acf_q2 spend_aer_q2
#>    1:                        NA           NA           NA           NA
#>    2:                        NA           NA           NA           NA
#>    3:                        NA           NA           NA           NA
#>    4:                        NA           NA           NA           NA
#>    5:                        NA           NA           NA           NA
#>   ---                                                                 
#> 1201:                     0.255       0.0628        0.157        0.196
#> 1202:                     0.274       0.0790        0.166        0.188
#> 1203:                     0.273       0.0730        0.151        0.155
#> 1204:                     0.202       0.0138        0.105        0.115
#> 1205:                     0.232       0.0493        0.114        0.155
#>       spend_apg_q2 spend_durables_q2 spend_gen_q2 spend_grf_q2 spend_hcs_q2
#>    1:           NA                NA           NA           NA           NA
#>    2:           NA                NA           NA           NA           NA
#>    3:           NA                NA           NA           NA           NA
#>    4:           NA                NA           NA           NA           NA
#>    5:           NA                NA           NA           NA           NA
#>   ---                                                                      
#> 1201:        0.323             0.182        0.487        0.142       0.0886
#> 1202:        0.342             0.188        0.508        0.174       0.0853
#> 1203:        0.340             0.174        0.507        0.200       0.0748
#> 1204:        0.246             0.136        0.392        0.121       0.0724
#> 1205:        0.270             0.173        0.407        0.118       0.0793
#>       spend_hic_q2 spend_inpersonmisc_q2 spend_nondurables_q2
#>    1:           NA                    NA                   NA
#>    2:           NA                    NA                   NA
#>    3:           NA                    NA                   NA
#>    4:           NA                    NA                   NA
#>    5:           NA                    NA                   NA
#>   ---                                                        
#> 1201:        0.224                    NA                0.203
#> 1202:        0.238                    NA                0.217
#> 1203:        0.228                    NA                0.225
#> 1204:        0.153                    NA                0.164
#> 1205:        0.203                    NA                0.170
#>       spend_remoteservices_q2 spend_sgh_q2 spend_tws_q2
#>    1:                      NA           NA           NA
#>    2:                      NA           NA           NA
#>    3:                      NA           NA           NA
#>    4:                      NA           NA           NA
#>    5:                      NA           NA           NA
#>   ---                                                  
#> 1201:                   0.222        0.380      -0.0364
#> 1202:                   0.214        0.410      -0.0239
#> 1203:                   0.216        0.383      -0.0257
#> 1204:                   0.241        0.309      -0.0304
#> 1205:                   0.262        0.333      -0.0265
#>       spend_retail_no_grocery_q2 spend_retail_w_grocery_q2 spend_aap_q3
#>    1:                         NA                        NA           NA
#>    2:                         NA                        NA           NA
#>    3:                         NA                        NA           NA
#>    4:                         NA                        NA           NA
#>    5:                         NA                        NA           NA
#>   ---                                                                  
#> 1201:                      0.299                     0.229       0.1070
#> 1202:                      0.315                     0.252       0.1270
#> 1203:                      0.306                     0.257       0.1240
#> 1204:                      0.232                     0.180       0.0702
#> 1205:                      0.265                     0.200       0.0780
#>       spend_acf_q3 spend_aer_q3 spend_apg_q3 spend_durables_q3 spend_gen_q3
#>    1:           NA           NA           NA                NA           NA
#>    2:           NA           NA           NA                NA           NA
#>    3:           NA           NA           NA                NA           NA
#>    4:           NA           NA           NA                NA           NA
#>    5:           NA           NA           NA                NA           NA
#>   ---                                                                      
#> 1201:        0.161       0.1570        0.324             0.180        0.473
#> 1202:        0.164       0.1460        0.346             0.190        0.495
#> 1203:        0.149       0.1290        0.347             0.183        0.498
#> 1204:        0.105       0.0945        0.250             0.144        0.372
#> 1205:        0.122       0.1460        0.249             0.185        0.365
#>       spend_grf_q3 spend_hcs_q3 spend_hic_q3 spend_inpersonmisc_q3
#>    1:           NA           NA           NA                    NA
#>    2:           NA           NA           NA                    NA
#>    3:           NA           NA           NA                    NA
#>    4:           NA           NA           NA                    NA
#>    5:           NA           NA           NA                    NA
#>   ---                                                             
#> 1201:       0.1320        0.142        0.237               0.09580
#> 1202:       0.1630        0.125        0.257               0.07730
#> 1203:       0.1930        0.120        0.246               0.05640
#> 1204:       0.1120        0.115        0.176               0.00844
#> 1205:       0.0954        0.110        0.221               0.01560
#>       spend_nondurables_q3 spend_remoteservices_q3 spend_sgh_q3 spend_tws_q3
#>    1:                   NA                      NA           NA           NA
#>    2:                   NA                      NA           NA           NA
#>    3:                   NA                      NA           NA           NA
#>    4:                   NA                      NA           NA           NA
#>    5:                   NA                      NA           NA           NA
#>   ---                                                                       
#> 1201:                0.212                   0.210        0.392           NA
#> 1202:                0.226                   0.208        0.411           NA
#> 1203:                0.235                   0.214        0.393           NA
#> 1204:                0.171                   0.242        0.320           NA
#> 1205:                0.164                   0.302        0.307           NA
#>       spend_retail_no_grocery_q3 spend_retail_w_grocery_q3 spend_aap_q4
#>    1:                         NA                        NA           NA
#>    2:                         NA                        NA           NA
#>    3:                         NA                        NA           NA
#>    4:                         NA                        NA           NA
#>    5:                         NA                        NA           NA
#>   ---                                                                  
#> 1201:                      0.303                     0.231       0.1060
#> 1202:                      0.321                     0.254       0.1120
#> 1203:                      0.316                     0.262       0.1060
#> 1204:                      0.241                     0.184       0.0502
#> 1205:                      0.261                     0.193       0.0683
#>       spend_acf_q4 spend_aer_q4 spend_apg_q4 spend_durables_q4 spend_gen_q4
#>    1:           NA           NA           NA                NA           NA
#>    2:           NA           NA           NA                NA           NA
#>    3:           NA           NA           NA                NA           NA
#>    4:           NA           NA           NA                NA           NA
#>    5:           NA           NA           NA                NA           NA
#>   ---                                                                      
#> 1201:       0.1530           NA        0.253             0.189        0.374
#> 1202:       0.1460           NA        0.268             0.195        0.395
#> 1203:       0.1250           NA        0.268             0.185        0.398
#> 1204:       0.0835           NA        0.171             0.144        0.270
#> 1205:       0.1100           NA        0.182             0.178        0.272
#>       spend_grf_q4 spend_hcs_q4 spend_hic_q4 spend_inpersonmisc_q4
#>    1:           NA           NA           NA                    NA
#>    2:           NA           NA           NA                    NA
#>    3:           NA           NA           NA                    NA
#>    4:           NA           NA           NA                    NA
#>    5:           NA           NA           NA                    NA
#>   ---                                                             
#> 1201:           NA       0.1240        0.250               0.05020
#> 1202:           NA       0.1140        0.259               0.04480
#> 1203:           NA       0.1070        0.245               0.04000
#> 1204:           NA       0.1090        0.176               0.00297
#> 1205:           NA       0.0924        0.242              -0.03370
#>       spend_nondurables_q4 spend_remoteservices_q4 spend_sgh_q4 spend_tws_q4
#>    1:                   NA                      NA           NA           NA
#>    2:                   NA                      NA           NA           NA
#>    3:                   NA                      NA           NA           NA
#>    4:                   NA                      NA           NA           NA
#>    5:                   NA                      NA           NA           NA
#>   ---                                                                       
#> 1201:                0.172                   0.185        0.342           NA
#> 1202:                0.191                   0.184        0.368           NA
#> 1203:                0.201                   0.188        0.367           NA
#> 1204:                0.133                   0.226        0.301           NA
#> 1205:                0.130                   0.276        0.364           NA
#>       spend_retail_no_grocery_q4 spend_retail_w_grocery_q4 spend_s_aap
#>    1:                         NA                        NA          NA
#>    2:                         NA                        NA          NA
#>    3:                         NA                        NA          NA
#>    4:                         NA                        NA          NA
#>    5:                         NA                        NA          NA
#>   ---                                                                 
#> 1201:                      0.272                     0.216       0.317
#> 1202:                      0.284                     0.237       0.337
#> 1203:                      0.276                     0.243       0.334
#> 1204:                      0.201                     0.166       0.273
#> 1205:                      0.228                     0.179       0.308
#>       spend_s_acf spend_s_aer spend_s_all spend_s_apg spend_s_durables
#>    1:          NA          NA          NA          NA               NA
#>    2:          NA          NA          NA          NA               NA
#>    3:          NA          NA          NA          NA               NA
#>    4:          NA          NA          NA          NA               NA
#>    5:          NA          NA          NA          NA               NA
#>   ---                                                                 
#> 1201:       0.244       0.155       0.200       0.438            0.231
#> 1202:       0.248       0.206       0.218       0.462            0.246
#> 1203:       0.235       0.214       0.222       0.468            0.236
#> 1204:       0.193       0.185       0.187       0.377            0.189
#> 1205:       0.232       0.194       0.187       0.414            0.271
#>       spend_s_gen spend_s_grf spend_s_hcs spend_s_hic spend_s_inpersonmisc
#>    1:          NA          NA          NA          NA                   NA
#>    2:          NA          NA          NA          NA                   NA
#>    3:          NA          NA          NA          NA                   NA
#>    4:          NA          NA          NA          NA                   NA
#>    5:          NA          NA          NA          NA                   NA
#>   ---                                                                     
#> 1201:       0.511      0.1440      0.0547       0.685              0.01620
#> 1202:       0.537      0.1880      0.0656       0.694              0.02050
#> 1203:       0.549      0.2320      0.0630       0.675              0.01910
#> 1204:       0.442      0.1730      0.0555       0.577             -0.00756
#> 1205:       0.480      0.0625      0.0587       0.796              0.00491
#>       spend_s_nondurables spend_s_remoteservices spend_s_sgh spend_s_tws
#>    1:                  NA                     NA          NA          NA
#>    2:                  NA                     NA          NA          NA
#>    3:                  NA                     NA          NA          NA
#>    4:                  NA                     NA          NA          NA
#>    5:                  NA                     NA          NA          NA
#>   ---                                                                   
#> 1201:               0.278                  0.219       0.411          NA
#> 1202:               0.301                  0.240       0.432          NA
#> 1203:               0.319                  0.250       0.423          NA
#> 1204:               0.263                  0.248       0.359          NA
#> 1205:               0.243                  0.195       0.424          NA
#>       spend_s_all_incmiddle spend_s_all_q1 spend_s_all_q2 spend_s_all_q3
#>    1:                    NA             NA             NA             NA
#>    2:                    NA             NA             NA             NA
#>    3:                    NA             NA             NA             NA
#>    4:                    NA             NA             NA             NA
#>    5:                    NA             NA             NA             NA
#>   ---                                                                   
#> 1201:                 0.206          0.266          0.206          0.206
#> 1202:                 0.225          0.282          0.224          0.225
#> 1203:                 0.229          0.286          0.228          0.231
#> 1204:                 0.194          0.255          0.193          0.194
#> 1205:                 0.192          0.254          0.190          0.194
#>       spend_s_all_q4 spend_s_retail_no_grocery spend_s_retail_w_grocery
#>    1:             NA                        NA                       NA
#>    2:             NA                        NA                       NA
#>    3:             NA                        NA                       NA
#>    4:             NA                        NA                       NA
#>    5:             NA                        NA                       NA
#>   ---                                                                  
#> 1201:          0.166                     0.415                    0.295
#> 1202:          0.185                     0.435                    0.326
#> 1203:          0.189                     0.431                    0.342
#> 1204:          0.153                     0.350                    0.271
#> 1205:          0.154                     0.428                    0.265
#>       spend_19_retail_no_grocery spend_19_retail_w_grocery provisional
#>    1:                         NA                        NA           0
#>    2:                         NA                        NA           0
#>    3:                         NA                        NA           0
#>    4:                         NA                        NA           0
#>    5:                         NA                        NA           0
#>   ---                                                                 
#> 1201:                      0.416                     0.297           1
#> 1202:                      0.443                     0.333           1
#> 1203:                      0.440                     0.352           1
#> 1204:                      0.340                     0.267           1
#> 1205:                      0.418                     0.261           1
#>             date
#>    1: 2018-12-31
#>    2: 2019-01-01
#>    3: 2019-01-02
#>    4: 2019-01-03
#>    5: 2019-01-04
#>   ---           
#> 1201: 2022-04-14
#> 1202: 2022-04-15
#> 1203: 2022-04-16
#> 1204: 2022-04-17
#> 1205: 2022-04-24