<codeBook xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="ddi:codebook:2_5 http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" xmlns="ddi:codebook:2_5">
  <docDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv">Ojämlikhetsmått baserade på valdata 1871 och 1892 för svenska kommuner</titl>
        <parTitl xml:lang="en">Inequality measures based on election data 1871 and 1892 for Swedish municipalities</parTitl>
        <IDNo agency="SND">snd1098-1-1.0</IDNo>
        <IDNo agency="DOI">https://doi.org/10.5878/cw7b-g897</IDNo>
      </titlStmt>
      <prodStmt>
        <producer xml:lang="en" abbr="SND">Swedish National Data Service</producer>
        <producer xml:lang="sv" abbr="SND">Svensk nationell datatjänst</producer>
      </prodStmt>
      <holdings URI="https://doi.org/10.5878/cw7b-g897">Landing page</holdings>
    </citation>
  </docDscr>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl xml:lang="sv">Ojämlikhetsmått baserade på valdata 1871 och 1892 för svenska kommuner</titl>
        <parTitl xml:lang="en">Inequality measures based on election data 1871 and 1892 for Swedish municipalities</parTitl>
        <IDNo agency="SND">snd1098-1-1.0</IDNo>
        <IDNo agency="DOI">https://doi.org/10.5878/cw7b-g897</IDNo>
      </titlStmt>
      <rspStmt>
        <AuthEnty xml:lang="en" affiliation="Lund University">Moricz, Sara</AuthEnty>
        <AuthEnty xml:lang="sv" affiliation="Lunds universitet">Moricz, Sara</AuthEnty>
      </rspStmt>
      <prodStmt />
      <distStmt>
        <distrbtr xml:lang="en" abbr="SND" URI="https://snd.se">Swedish National Data Service</distrbtr>
        <distrbtr xml:lang="sv" abbr="SND" URI="https://snd.se">Svensk nationell datatjänst</distrbtr>
        <distDate xml:lang="en" date="2019-04-10" />
      </distStmt>
      <verStmt>
        <version elementVersion="1.0" elementVersionDate="2019-04-10" />
      </verStmt>
      <holdings URI="https://doi.org/10.5878/cw7b-g897">Landing page</holdings>
    </citation>
    <stdyInfo>
      <subject>
        <keyword xml:lang="en" vocab="ELSST" vocabURI="https://elsst.cessda.eu/id/6/ce47c686-c73d-4294-8310-dba0cce67c42">NATIONAL ECONOMY</keyword>
        <keyword xml:lang="sv" vocab="ELSST" vocabURI="https://elsst.cessda.eu/id/6/ce47c686-c73d-4294-8310-dba0cce67c42">NATIONALEKONOMI</keyword>
        <keyword xml:lang="en" vocab="ELSST" vocabURI="https://elsst.cessda.eu/id/6/a913d996-0be0-4f8e-b4bb-fdbc7f7fd9b3">ECONOMIC HISTORY</keyword>
        <keyword xml:lang="sv" vocab="ELSST" vocabURI="https://elsst.cessda.eu/id/6/a913d996-0be0-4f8e-b4bb-fdbc7f7fd9b3">EKONOMISK HISTORIA</keyword>
      </subject>
      <abstract xml:lang="en" contentType="abstract">The data contains inequality measures at the municipality-level for 1892 and 1871, as estimated in the PhD thesis "Institutions, Inequality and Societal Transformations" by Sara Moricz. The data also contains the source publications:
1) tabel 1 from “Bidrag till Sverige official statistik R) Valstatistik. XI. Statistiska Centralbyråns underdåniga berättelse rörande kommunala rösträtten år 1892” (biSOS R 1892)
2) tabel 1 from “Bidrag till Sverige official statistik R) Valstatistik. II. Statistiska Centralbyråns underdåniga berättelse rörande kommunala rösträtten år 1871” (biSOS R 1871)

---------------------------------------------
moricz_inequality_agriculture.csv
---------------------------------------------

A UTF-8 encoded .csv-file. Each row is a municipality of the agricultural sample (2222 in total). Each column is a variable.

R71muncipality_id: a unique identifier for the municipalities in the R1871 publication (the municipality name can be obtained from the source data)
R92muncipality_id: a unique identifier for the municipalities in the R1892 publication (the municipality name can be obtained from the source data)
agriTop1_1871: an ordinal measure (ranking) of the top 1 income share in the agricultural sector for 1871
agriTop1_1892: an ordinal measure (ranking) of the top 1 income share in the agricultural sector for 1892
highestFarm_1871: a cardinal measure of the top 1 person share in the agricultural sector for 1871
highestFarm_1871: a cardinal measure of the top 1 person share in the agricultural sector for 1892


---------------------------------------------
moricz_inequality_industry.csv
---------------------------------------------

A UTF-8 encoded .csv-file. Each row is a municipality of the industrial sample (1328 in total). Each column is a variable.

R71muncipality_id: see above description
R92muncipality_id: see above description
indTop1_1871: an ordinal measure (ranking) of the top 1 income share in the industrial sector for 1871
indTop1_1892: an ordinal measure (ranking) of the top 1 income share in the industrial sector for 1892

---------------------------------------------
moricz_R1892_source_data.csv
---------------------------------------------
A UTF-8 encoded .csv-file with the source data. The variables are described in the adherent codebook moricz_R1892_source_data_codebook.csv.

Contains table 1 from “Bidrag till Sverige official statistik R) Valstatistik. XI. Statistiska Centralbyråns underdåniga berättelse rörande kommunala rösträtten år 1892” (biSOS R 1892). SCB provides the scanned publication on their website. Dollar Typing Service typed and delivered the data in 2015. All numerical variables but two have been checked. This is easy to do since nearly all columns should sum up to another column. For “Folkmangd” (population) the numbers have been corrected against U1892. The highest estimate of errors in the variables is 0.005 percent (0.5 promille), calculated at cell level. The two numerical variables which have not been checked is “hogsta_fyrk_jo“ and “hogsta_fyrk_ov“, as this cannot much be compared internally in the data. According to my calculations as the worst case scenario, I have measurement errors of 0.0043 percent (0.43 promille) in those variables.

---------------------------------------------
moricz_R1871_source_data.csv
---------------------------------------------
A UTF-8 encoded .csv-file with the source data. The variables are described in the adherent codebook moricz_R1871_source_data_codebook.csv.

Contains table 1 from “Bidrag till Sverige official statistik R) Valstatistik. II. Statistiska Centralbyråns underdåniga berättelse rörande kommunala rösträtten år 1871” (biSOS R 1871). SCB provides the scanned publication on their website. Dollar Typing Service typed and delivered the data in 2015. The variables have been checked for accuracy, which is feasible since columns and rows should sum. The variables that most likely carry mistakes are “hogsta_fyrk_al” and “hogsta_fyrk_jo”.</abstract>
      <abstract xml:lang="sv" contentType="abstract">Datan består av ojämlikhetsmått på kommunal nivå för 1871 och 1892 som presenteras i doktorsavhandlingen  "Institutions, Inequality and Societal Transformations" av Sara Moricz. Datan består också av råmaterialet
1) tabel 1 från “Bidrag till Sverige official statistik R) Valstatistik. XI. Statistiska Centralbyråns underdåniga berättelse rörande kommunala rösträtten år 1892” (biSOS R 1892)
2) tabel 1 från “Bidrag till Sverige official statistik R) Valstatistik. II. Statistiska Centralbyråns underdåniga berättelse rörande kommunala rösträtten år 1871” (biSOS R 1871)</abstract>
      <sumDscr>
        <anlyUnit xml:lang="en" unit="Geographic unit">Geographic unit<concept vocab="DDI Analysis Unit" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/AnalysisUnit/2.1.3?languageVersion=en-2.1.3">Geographic unit</concept></anlyUnit>
        <anlyUnit xml:lang="sv" unit="Geografisk enhet">Geografisk enhet<concept vocab="DDI Analysis Unit" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/AnalysisUnit/2.1.3?languageVersion=sv-2.1.3">Geografisk enhet</concept></anlyUnit>
        <universe xml:lang="en">municipalities (not towns)</universe>
        <universe xml:lang="sv">landskommuner</universe>
        <dataKind xml:lang="en">Numeric</dataKind>
        <dataKind xml:lang="en">Text</dataKind>
      </sumDscr>
    </stdyInfo>
    <method>
      <dataColl>
        <timeMeth xml:lang="en">Longitudinal: Panel<concept vocab="DDI Time Method" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/TimeMethod/1.2.3?languageVersion=en-1.2.3">Longitudinal: Panel</concept></timeMeth>
        <timeMeth xml:lang="sv">Longitudinell: Panel<concept vocab="DDI Time Method" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/TimeMethod/1.2.3?languageVersion=sv-1.2.3">Longitudinell: Panel</concept></timeMeth>
        <sampProc xml:lang="en">Total universe/Complete enumeration<concept vocab="DDI Sampling Procedure" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/SamplingProcedure/2.0.1?languageVersion=en-2.0.1">Total universe/Complete enumeration</concept></sampProc>
        <sampProc xml:lang="sv">Hela populationen/total räkning<concept vocab="DDI Sampling Procedure" vocabURI="https://vocabularies.cessda.eu/v2/vocabularies/SamplingProcedure/2.0.1?languageVersion=sv-2.0.1">Hela populationen/total räkning</concept></sampProc>
      </dataColl>
    </method>
    <dataAccs>
      <useStmt>
        <restrctn xml:lang="en">Access to data through SND. Data are freely accessible.</restrctn>
        <restrctn xml:lang="sv">Åtkomst till data via SND. Data är fritt tillgängliga.</restrctn>
        <conditions elementVersion="info:eu-repo-Access-Terms vocabulary">openAccess</conditions>
      </useStmt>
    </dataAccs>
    <othrStdyMat />
  </stdyDscr>
</codeBook>