Data and R Code for "Liquidity Insurance or Debt Trap? Income Volatility, Digital Credit Reliance, Emergency Savings, and Over-Indebtedness"
收藏资源简介:
This dataset contains the raw data and R code supporting the article “Liquidity Insurance or Debt Trap? Income Volatility, Digital Credit Reliance, Emergency Savings, and Over-Indebtedness.” The data come from an anonymous online questionnaire survey of young employed digital credit users in China (aged 18–40), administered through the Credamo online panel in March–April 2026. The main sample includes 623 valid responses; the pilot sample includes 150 responses. Files: Raw_data.xlsx — item-level raw data of the main sample (N = 623) and the pilot sample (N = 150), computed variables, the sample screening record, scale items, and a Readme sheet with variable coding. Reproduce_all_tables_and_figures.R — R script that reproduces all tables and figures in the main text (Tables 1–6, Figures 1–3) and the Supplementary Material (Tables S1–S6) from the raw data. To reproduce the results, place both files in the same folder and run the R script (required packages: readxl, openxlsx, lavaan). Results are written to ./output/All_tables_and_figures.xlsx. The random seed is fixed, so results are identical across runs. The data contain no personally identifiable information.



