Cameron D. Campbell 康文林

Family, Social Mobility, and Inequality in China and in Comparative Perspective

Menu
  • Research
    • Abridged CV
    • Full CV (PDF)
    • 2 page CV (PDF)
    • Google Scholar
    • CNKI
    • 百度学术
    • ORCID
    • HKUST Repository
  • News
  • Data
    • China Government Employee Database – Qing (CGED-Q) 中国历史官员量化数据库(清代)
      • Download Data
      • Search by Name
      • CGED-Q Jinshenlu Public Release – Resources for Users
    • China Multigenerational Panel Databases 中國多代人口数据庫
      • Download Data
  • Lee-Campbell Group
    • People
    • Projects
    • Publications
  • Photography
    • Photo site 摄影网站
    • Map view
    • Updates
  • Contact
Menu

Tutorial for using R to Analyze the Publicly Released CGED-Q JSL

Posted on July 7, 2025July 16, 2025 by camecamp

Chen Jun has created a R Markdown file that provides a tutorial for using R to analyze the CGED-Q, including executable code. The tutorial has been uploaded to the Lee-Campbell Group dataspaces at Harvard and HKUST, along with PDF of the output.

He has also produced updated Powerpoints showing how to use R to analyze the CGED-Q JSL.

Harvard Dataverse

R Markdown File: https://dataverse.harvard.edu/file.xhtml?fileId=11712534

PDF of output from R Markdown file: https://dataverse.harvard.edu/file.xhtml?fileId=11712535

Powerpoints

1&2-初识Rstudio和缙绅录数据库(v2.1.1).pdf

3-逻辑表达式和字符串处理的相关函数(v2.1.1).pdf

4-表格输出(v2.1.1).pdf

5-直方图、散点图和折线图的制作(v2.1.1).pdf

6-数据的整理与匹配(v2.1.1).pdf

7-官员个人编号的创建与运用(v2.1.1).pdf

8-制作GIS图像(v2.1.1).pdf

HKUST Dataspace

R Markdown File: https://dataspace.hkust.edu.hk/file.xhtml?fileId=2707

PDF of output from R Markdown file: https://dataspace.hkust.edu.hk/file.xhtml?fileId=2703

Powerpoints

1 & 2 初识Rstudio和缙绅录数据库(v2.1.1).pdf

3-逻辑表达式和字符串处理的相关函数(v2.1.1).pdf

4-表格输出(v2.1.1).pdf

5-直方图、散点图和折线图的制作(v2.1.1).pdf

6-数据的整理与匹配(v2.1.1).pdf

7-官员个人编号的创建与运用(v2.1.1).pdf

8-制作GIS图像(v2.1.1).pdf

  • Instagram
  • Photography website
  • Bluesky
  • LinkedIn

Recent Posts

  • Working paper on kin networks of local officials in the late Qing

    January 22, 2026
  • New edited volume Quantitative History of China: State Capacity, Institutions, and Development

    November 12, 2025
  • Chinese translation of our original record linkage paper

    November 5, 2025
  • New manuscript about Kin Networks of Exam Degree Holders

    November 4, 2025
  • Improved pipeline for nominative linkage of historical records written with Chinese characters

    October 1, 2025
  • Special issue “Inequality, economic stress, and demographic response” in Explorations in Economic History

    August 14, 2025

Recent Photography

  • Dihua Street in Taipei, at night 臺北迪化街夜景

    February 28, 2026
  • Taiping Elementary School at night, Keelung

    February 28, 2026
  • Downtown Keelung seen from Huzishan, at night

    February 28, 2026
  • Zhongshan No. 1 Road, Alley 113, Keelung, Taiwan at Night 台灣中山一路113巷夜景

    February 28, 2026
  • Keelung Downtown at night 基隆市中心的夜景

    February 28, 2026
  • Chongqing by Day

    February 20, 2026
  • Chongqing waterfront promenade, near Chaotianmen

    February 20, 2026

©2026 Cameron D. Campbell 康文林 | Theme by SuperbThemes