Skip to content

Commit

Permalink
allow simple round-tripping of variables.csv by fixing the number and…
Browse files Browse the repository at this point in the history
… order of columns
  • Loading branch information
xrotwang committed Sep 25, 2018
1 parent a01be04 commit f90d9e6
Show file tree
Hide file tree
Showing 11 changed files with 1,233 additions and 1,233 deletions.
6 changes: 3 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
* text=auto
*.md text
*.csv text
*.tab text
*.tsv text
*.csv text eol=crlf
*.tab text eol=crlf
*.tsv text eol=crlf

2 changes: 1 addition & 1 deletion datasets/Binford/variables.csv
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ B031,"Politics, Class",Type of social class distinction,Type of social class dis
B032,"Politics, Leadership",Perogatives of leadership,"Perogatives of leadership, regardless of the types of leadership present in the group",Categorical,,Binford (2001) Table 9.01; variable 'PEROGAT',,"More detail on code definitions and variable in Binford (2001) p.338, caption to Fig 9.06"
B033,"Economy, Property, Wealth transactions",Use of money,Presence or absence of use of money within the society,Ordinal,,Binford (2001) Table 9.01; variable 'MONEY',,Code and variable definitions from Binford and Johnson (2006)
B034,"Economy, Labour",Economic specialization,Whether there is economic role specialization beyond simple age and gender differences,Ordinal,,Binford (2001) Table 9.01; variable 'OCCSPE',,"More detail on variable in Binford (2001) p. 333, but no code definitions; division of labor discussed briefly on p. 244; code definitions from Binford and Johnson (2006)"
B035,"Marriage,Kinship, Community organization",Community marriage organization,"The prevalence of local endogamy, agamy, and exogamy coded together with the presence or absence of localized kin groups. Can be interpreted as ordinal measure of endogamy.",Categorical,,Binford (2001) Table 9.01; variable 'COMMUN',,Code and variable definitions from Binford and Johnson (2006)
B035,"Marriage, Kinship, Community organization",Community marriage organization,"The prevalence of local endogamy, agamy, and exogamy coded together with the presence or absence of localized kin groups. Can be interpreted as ordinal measure of endogamy.",Categorical,,Binford (2001) Table 9.01; variable 'COMMUN',,Code and variable definitions from Binford and Johnson (2006)
B036,"Community organization, Housing, Politics",Community facilities,"The functions and properties of structures with specific community-wide functions. These are not residences, nor are they multifunctional residences.",Categorical,,Binford (2001) Table 9.01; variable 'COMSTFUN',,Code and variable definitions from Binford and Johnson (2006)
B037,"Subsistence, Economy, Property",Ownership of resource locations ,Ownership of resource locations ,Categorical,,Binford (2001) Table 9.01; variable 'OWNERS',,"Code definitions somewhat ambiguous, see Binford (2001) p. 426, caption to Fig. 11.17"
B038,Politics,System state: typology of society's political organization,"Variable represents a combination of data relating to leadership, internal differentiation of leadership status, associated roles relative to participation in decision making, and the exercise of power within the society. According to Binford (2001) these include some of the criteria used in ""more thoughtful evolutionary classifications,"" such as ones by Fried (1967) and Jonson and Earle (1987). ",Categorical,,Binford (2001) Table 9.01; variable 'SYSSTATE',,More detail on code definitions and variable in Binford (2001) p. 345; Codes given in caption for figure 9.02.
Expand Down
6 changes: 3 additions & 3 deletions datasets/GMTED2010/variables.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
category,id,title,definition,type,units,source,changes,notes
Physical Landscape,Elevation,Meters above sea level,Meters above sea level,Continuous,masl,Global Multi-resolution Terrain Elevation Data 2010,,
Physical Landscape,Slope,Mean incline (in degrees) in the terrain (unit of sample 0.5 by 0.5 degree cell),Mean incline (in degrees) in the terrain (unit of sample 0.5 by 0.5 degree cell),Continuous,degrees,Global Multi-resolution Terrain Elevation Data 2010,,
id,category,title,definition,type,units,source,changes,notes
Elevation,Physical Landscape,Meters above sea level,Meters above sea level,Continuous,masl,Global Multi-resolution Terrain Elevation Data 2010,,
Slope,Physical Landscape,Mean incline (in degrees) in the terrain (unit of sample 0.5 by 0.5 degree cell),Mean incline (in degrees) in the terrain (unit of sample 0.5 by 0.5 degree cell),Continuous,degrees,Global Multi-resolution Terrain Elevation Data 2010,,
4 changes: 2 additions & 2 deletions datasets/GSHHS/variables.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
category,id,title,definition,type,units,source,changes,notes
Physical Landscape,DistToCoast_km,Distance to coast,Distance to coast,Continuous,km,High-resolution Geography Database,,
id,category,title,definition,type,units,source,changes,notes
DistToCoast_km,Physical Landscape,Distance to coast,Distance to coast,Continuous,km,High-resolution Geography Database,,
8 changes: 4 additions & 4 deletions datasets/Jenkins/variables.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
category,id,title,definition,type,units,source,changes,notes
Ecology,AmphibianRichness,Number of coexisting amphibian species,Number of coexisting amphibian species.,Continuous,,Jenkins et al. 2013,,
Ecology,BirdRichness,Number of coexisting bird species,Number of coexisting bird species.,Continuous,,Jenkins et al. 2013,,
Ecology,MammalRichness,Number of coexisting mammal species,Number of coexisting mammal species.,Continuous,,Jenkins et al. 2013,,
id,category,title,definition,type,units,source,changes,notes
AmphibianRichness,Ecology,Number of coexisting amphibian species,Number of coexisting amphibian species.,Continuous,,Jenkins et al. 2013,,
BirdRichness,Ecology,Number of coexisting bird species,Number of coexisting bird species.,Continuous,,Jenkins et al. 2013,,
MammalRichness,Ecology,Number of coexisting mammal species,Number of coexisting mammal species.,Continuous,,Jenkins et al. 2013,,
4 changes: 2 additions & 2 deletions datasets/Kreft/variables.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
category,id,title,definition,type,units,source,changes,notes
Ecology,VascularPlantsRichness,Number of coexisting vascular plant species.,Number of coexisting vascular plant species.,Continuous,,Kreft and Jetz 2007,,
id,category,title,definition,type,units,source,changes,notes
VascularPlantsRichness,Ecology,Number of coexisting vascular plant species.,Number of coexisting vascular plant species.,Continuous,,Kreft and Jetz 2007,,
12 changes: 6 additions & 6 deletions datasets/MODIS/variables.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
category,id,title,definition,type,units,source,changes,notes
Ecology,AnnualNetPrimaryProductionVariance,Variance in net primary production per month,Variance in net primary production per month,Continuous,,Moderate Resolution Imaging Spectroradiometer,,
Ecology,MonthlyMeanNetPrimaryProduction,Net primary production per month (grams of carbon uptake per square meter of land per month),Net primary production per month (grams of carbon uptake per square meter of land per month),Continuous,gC m-2 month-1,Moderate Resolution Imaging Spectroradiometer,,
Ecology,NetPrimaryProductionConstancy,Net primary production constancy,Colwell's (1974) information theoretic index. Indicates the extent to which a climate patterns are predictable because conditions are constant. Varies between 0 (completely unpredictable) and 1 (fully predictable).,Continuous,,Moderate Resolution Imaging Spectroradiometer,,
Ecology,NetPrimaryProductionContingency,Net primary production contingency,Colwell's (1974) information theoretic index. Indicates the extent to which a climate patterns are predictable because conditions oscillate in a very predictable manner. Varies between 0 (completely unpredictable) and 1 (fully predictable).,Continuous,,Moderate Resolution Imaging Spectroradiometer,,
Ecology,NetPrimaryProductionPredictability,Net primary production predictability,Colwell's (1974) information theoretic index. Indicates the extent to which a climate patterns are predictable due to either constancy or contingency. Varies between 0 (completely unpredictable) and 1 (fully predictable).,Continuous,,Moderate Resolution Imaging Spectroradiometer,,
id,category,title,definition,type,units,source,changes,notes
AnnualNetPrimaryProductionVariance,Ecology,Variance in net primary production per month,Variance in net primary production per month,Continuous,,Moderate Resolution Imaging Spectroradiometer,,
MonthlyMeanNetPrimaryProduction,Ecology,Net primary production per month (grams of carbon uptake per square meter of land per month),Net primary production per month (grams of carbon uptake per square meter of land per month),Continuous,gC m-2 month-1,Moderate Resolution Imaging Spectroradiometer,,
NetPrimaryProductionConstancy,Ecology,Net primary production constancy,Colwell's (1974) information theoretic index. Indicates the extent to which a climate patterns are predictable because conditions are constant. Varies between 0 (completely unpredictable) and 1 (fully predictable).,Continuous,,Moderate Resolution Imaging Spectroradiometer,,
NetPrimaryProductionContingency,Ecology,Net primary production contingency,Colwell's (1974) information theoretic index. Indicates the extent to which a climate patterns are predictable because conditions oscillate in a very predictable manner. Varies between 0 (completely unpredictable) and 1 (fully predictable).,Continuous,,Moderate Resolution Imaging Spectroradiometer,,
NetPrimaryProductionPredictability,Ecology,Net primary production predictability,Colwell's (1974) information theoretic index. Indicates the extent to which a climate patterns are predictable due to either constancy or contingency. Varies between 0 (completely unpredictable) and 1 (fully predictable).,Continuous,,Moderate Resolution Imaging Spectroradiometer,,
Loading

0 comments on commit f90d9e6

Please sign in to comment.