Skip to content

Commit acc6757

Browse files
authored
Merge pull request #28 from IQSS/27-pums
add PUMS data #27
2 parents 8d705f0 + 4a8b897 commit acc6757

5 files changed

Lines changed: 121 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"description": "10,000 rows extracted from the 2000 PUMS 5-Percent from California with a subset of questions."
3+
}
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"datasetVersion": {
3+
"id": 4,
4+
"datasetId": 12,
5+
"datasetPersistentId": "doi:10.5072/FK2/QWVFK0",
6+
"storageIdentifier": "file://10.5072/FK2/QWVFK0",
7+
"versionNumber": 1,
8+
"versionMinorNumber": 0,
9+
"versionState": "RELEASED",
10+
"UNF": "UNF:6:VDyWtJrNd0VRwAumtzYA1Q==",
11+
"lastUpdateTime": "2021-09-20T18:38:32Z",
12+
"releaseTime": "2021-09-20T18:38:32Z",
13+
"createTime": "2021-09-20T18:16:38Z",
14+
"license": "CC0",
15+
"termsOfUse": "CC0 Waiver",
16+
"fileAccessRequest": false,
17+
"metadataBlocks": {
18+
"citation": {
19+
"displayName": "Citation Metadata",
20+
"fields": [
21+
{
22+
"typeName": "title",
23+
"multiple": false,
24+
"typeClass": "primitive",
25+
"value": "2000 PUMS 5-Percent"
26+
},
27+
{
28+
"typeName": "author",
29+
"multiple": true,
30+
"typeClass": "compound",
31+
"value": [
32+
{
33+
"authorName": {
34+
"typeName": "authorName",
35+
"multiple": false,
36+
"typeClass": "primitive",
37+
"value": "United States Census Bureau"
38+
}
39+
}
40+
]
41+
},
42+
{
43+
"typeName": "datasetContact",
44+
"multiple": true,
45+
"typeClass": "compound",
46+
"value": [
47+
{
48+
"datasetContactName": {
49+
"typeName": "datasetContactName",
50+
"multiple": false,
51+
"typeClass": "primitive",
52+
"value": "United States Census Bureau"
53+
},
54+
"datasetContactEmail": {
55+
"typeName": "datasetContactEmail",
56+
"multiple": false,
57+
"typeClass": "primitive",
58+
"value": "dataverse@mailinator.com"
59+
}
60+
}
61+
]
62+
},
63+
{
64+
"typeName": "dsDescription",
65+
"multiple": true,
66+
"typeClass": "compound",
67+
"value": [
68+
{
69+
"dsDescriptionValue": {
70+
"typeName": "dsDescriptionValue",
71+
"multiple": false,
72+
"typeClass": "primitive",
73+
"value": "PUMS files have state-level Census 2000 data containing individual records of the characteristics for a 5 percent sample of people and housing units.\n\nThe PUMS files contain geographic units known as super-Public Use Microdata Areas (super-PUMAs) and Public Use Microdata Areas (PUMAs). Each super-PUMA contains a minimum population of 400,000 and each PUMA contains a minimum population threshold of 100,000. Geographic equivalency files that show the relationship between the PUMA and standard Census 2000 geographic concepts (e.g., counties, etc.) are included.\n\nSee <a href=\"https://www.census.gov/data/datasets/2000/dec/microdata.html\">https://www.census.gov/data/datasets/2000/dec/microdata.html</a>"
74+
}
75+
}
76+
]
77+
},
78+
{
79+
"typeName": "subject",
80+
"multiple": true,
81+
"typeClass": "controlledVocabulary",
82+
"value": [
83+
"Social Sciences"
84+
]
85+
},
86+
{
87+
"typeName": "depositor",
88+
"multiple": false,
89+
"typeClass": "primitive",
90+
"value": "Admin, Dataverse"
91+
},
92+
{
93+
"typeName": "dateOfDeposit",
94+
"multiple": false,
95+
"typeClass": "primitive",
96+
"value": "2021-09-20"
97+
}
98+
]
99+
}
100+
},
101+
"citation": "United States Census Bureau, 2021, \"2000 PUMS 5-Percent\", https://doi.org/10.5072/FK2/QWVFK0, Root, V1, UNF:6:VDyWtJrNd0VRwAumtzYA1Q== [fileUNF]"
102+
}
103+
}

data/dataverses/pums/datasets/2000pums5/files/PUMS5extract10000.csv

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

data/dataverses/pums/pums.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "PUMS",
3+
"alias": "pums",
4+
"dataverseContacts": [
5+
{
6+
"contactEmail": "dataverse@mailinator.com"
7+
}
8+
],
9+
"affiliation": "United States Census Bureau",
10+
"description": "The Census Bureau’s American Community Survey (ACS) Public Use Microdata Sample (PUMS) files enable data users to create custom estimates and tables, free of charge, that are not available through ACS pretabulated data products. The ACS PUMS files are a set of records from individual people or housing units, with disclosure protection enabled so that individuals or housing units cannot be identified. See <a href=\"https://www.census.gov/programs-surveys/acs/microdata.html\">https://www.census.gov/programs-surveys/acs/microdata.html</a>.",
11+
"dataverseType": "RESEARCHERS"
12+
}

dvconfig.py.sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ base_url = 'http://localhost:8080'
22
api_token = ''
33
# sample data will be created in the following order
44
sample_data = [
5+
'data/dataverses/pums/pums.json',
6+
'data/dataverses/pums/datasets/2000pums5/2000pums5.json',
57
'data/dataverses/dataverseno/dataverseno.json',
68
'data/dataverses/open-source-at-harvard/open-source-at-harvard.json',
79
'data/dataverses/open-source-at-harvard/dataverses/dataverse-project/dataverse-project.json',

0 commit comments

Comments
 (0)