Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ Contributions can be made, primarily in two ways:
5. Submitting a pull request to this repository
6. You change should appear once approved.

*Note: All contributors retain the original copyright to their contribution, but by contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the license(s) under which this project is distributed.*

## Running Locally

Project Open Data runs on GitHub pages and automatically regenerates as a static site after every change. To duplicate this process and preview changes locally:
Expand Down
24 changes: 24 additions & 0 deletions assets/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,30 @@ table {
.table-striped tbody tr:nth-child(2n+1) td,
.table-striped tbody tr:nth-child(2n+1) th { background-color: #F9F9F9; }




table tr td:nth-child(1) {
width: 15%;
}

table tr td code {
display: inline-block;
word-wrap: break-word;
}

table + table {
margin-top : 5em;
}

table tr:first-child {
background-color : #e3e3e3;
}





#footer { padding: 40px 10px; }

/* icons */
Expand Down
14 changes: 7 additions & 7 deletions schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,23 @@ Further Metadata Field Guidance
{: .table .table-striped}
**Field** | **distribution**
----- | -----
**Cardinality** | (0,1)
**Cardinality** | (0,n)
**Required** | No
**Accepted Values** | See Usage Notes
**Usage Notes** | Distribution is a concatenation, as appropriate, of the following elements: **accessURL** and **format**. If an entry has only one dataset, enter details for that one; if it has multiple datasets (such as a bulk download and an API), separate entries with a comma, as seen below:
**Usage Notes** | Distribution is a concatenation, as appropriate, of the following elements: **accessURL** and **format**. If an entry has only one dataset, enter details for that one; if it has multiple datasets (such as a bulk download and an API), separate entries as seen below:

"distribution": [
{
"accessURL": "https://explore.data.gov/views/ykv5-fn9t/rows.csv?accessType=DOWNLOAD",
"format": "csv"
"format": "text/csv"
},
{
"accessURL": "https://explore.data.gov/views/ykv5-fn9t/rows.json?accessType=DOWNLOAD",
"format": "json"
"format": "application/json"
},
{
"accessURL": "https://explore.data.gov/views/ykv5-fn9t/rows.xml?accessType=DOWNLOAD",
"format": "xml"
"format": "text/xml"
}
]

Expand Down Expand Up @@ -255,7 +255,7 @@ Further Metadata Field Guidance
**Required** | No
**Accepted Values** | Array of strings
**Usage Notes** | This should adhere to the [RFC 5646](http://tools.ietf.org/html/rfc5646) standard. http://rishida.net/utils/subtags/ provides a good tool for checking and verifying language codes. A language tag is comprised of either one or two parts, the language subtag (such as en for English, sp for Spanish, wo for Wolof) and the regional subtag (such as US for United States, GB for Great Britain, MX for Mexico), separated by a hyphen. Regional subtags should only be provided when needed to distinguish a language tag from another one (such as American vs. British English).
**Examples** | `{"language":["es-MX"], ["wo"], ["nv"], ["en-US"]}`
**Examples** | `{"language":["es-MX", "wo", "nv", "en-US"]}`

{: .table .table-striped}
**Field** | **license**
Expand Down Expand Up @@ -318,7 +318,7 @@ Further Metadata Field Guidance
**Required** | No
**Accepted Values** | Array of strings (URLs)
**Usage Notes** | Enclose each URL within strings. Separate multiple URLs with a comma.
**Example** | `{"references":["http://www.agency.gov/fruits/fruits.csv", "http://www.agency.gov/legumes/legumes_directions.html", "http://www.agency.gov/fruits/fruits.csv,http://www.agency.gov/fruits/fruits_directions.html"]}`
**Example** | `{"references":["http://www.agency.gov/legumes/legumes_data_documentation.html", "http://www.agency.gov/fruits/fruit_data_documentation.html"]}`

{: .table .table-striped}
**Field** | **spatial**
Expand Down