Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #36 from frictionlessdata/txt-data-package
Browse files Browse the repository at this point in the history
Txt data package
  • Loading branch information
Stephen-Gates authored Mar 6, 2018
2 parents c13ee7d + 62b861c commit 688b51e
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 10 deletions.
14 changes: 14 additions & 0 deletions resources/contributors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"contributors": [
{
"title": "Joe Bloggs",
"email": "[email protected]",
"path": "http://www.example.com/bloggs",
"role": "author",
"organization": "Bloggs and Associates"
},
{
"title": "Mary Shelley",
"email": "[email protected]",
"role": "contributor"
}
]
6 changes: 2 additions & 4 deletions text-file/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@todo
An example of a txt file providing non-tabular data inside a data package.

Every data package must have a `README.md`. The `README.md` should follow [good practices](https://frictionlessdata.io/guides/publish-faq/#readme).

Use the [`README-template.md`](resources/README-template.md) to kick start writing a `README.md` for this data package.
The data is an example. Do not buy a lottery ticket based on this data.
32 changes: 27 additions & 5 deletions text-file/datapackage.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,33 @@
{
"name": "text-file",
"title": "Text File",
"resources": [
"title": "Text File Data Package",
"description": "An example of a text file in a non-tabular data package",
"licenses": [{
"name": "CC0-1.0",
"title": "CC0 1.0",
"path": "https://creativecommons.org/publicdomain/zero/1.0/"
}],
"contributors": [
{
"name": "text-file",
"path": "text-file.txt"
"title": "Joe Bloggs",
"email": "[email protected]",
"path": "http://www.example.com/bloggs",
"role": "author",
"organization": "Bloggs and Associates"
},
{
"title": "Mary Shelley",
"email": "[email protected]",
"role": "contributor"
}
],
"description": "Example Data Package of text file."
"version": "0.1.0",
"created": "2018-03-04T05:45:00Z",
"resources": [{
"name": "text-file",
"path": "text-file.txt",
"title": "Text File Data Resource",
"description": "An example of a text file as a non-tabular data resource",
"format": "txt"
}]
}
2 changes: 1 addition & 1 deletion text-file/text-file.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This is just a simple text file.
This is just a simple text file. It is not tabular. It includes some data. Tomorrow's winning lottery numbers are 10, 35, 17 and 42.

0 comments on commit 688b51e

Please sign in to comment.