Here’s some guidelines and FAQs for how Data for Democracy members can use data.world
data.world is a social network for data people; users can discover and share cool data, connect with interesting people, and work together to solve problems faster.
data.world is a repository for D4D datasets and a workspace for collaboration on D4D data projects. Here are some of the distinct advantages to storing data in data.world vs. GitHub or other repositories:
- Great presentation of data via file previews and data visualizations
- Allows for live querying and joining datasets via a query tool, saved queries and API
- Live free-form discussions around data
- Data-specific search
- Ability to join to external semantic data sources such as dbpedia and wikidata
- Editable column and file meta descriptions
- Easily accessible/viewable for others (though you have the option to keep your dataset private vs. open)
If your data is already in GitHub or another cloud storage repository (S3, Dropbox, Drive, etc), you can convienently mirror your data into data.world via their sync API (requires some programming, reach out in #tools-support for help on this). data.world is imminently releasing RESTful APIs for basic CRUD operations inside datasets that will further ease the workflow of updating data in data.world.
- Sign up for an account on data.world, and let @jonathon or @sharon know so they can add you as a contributor. This will grant you upload privileges to the current D4D projects (we'll add more later!)
- When you have a dataset you'd like to share publicly or collaborate on with other volunteers, upload it through the data.world UI.
- If you own datasets in data.world that are not in data.world/Data4Democracy for whatever reason, but you'd like to connect them to a D4D project you can:
- Utilize Tags: Add the
d4d
tag and if data is related to a specific project, we encourage you to add the tag(s) that corresponds to the project, e.g.election transparency
,house expenditures
,propublica
, etc. - Add D4D as Contributor: Add D4D as a contributor to keep data under the same umbrella
- For datasets that you do not own but are used in your project, link to them in your summary or request to be a contributor and add tags
- Utilize Tags: Add the
- You can explore the data on data.world and can use their API to send SQL queries and get CSVs (and, subsequently, dataframes!) back! Coming very soon - the ability to upload data via the API as well!
- Now all the datasets for a project can live in one place. You can comment on them, annotate them, access them programmatically. Boom!
- As you may have noticed, lots of the data.world team are actually in the community volunteering on various projects. If you have technical questions and aren't sure who to get in touch with, join the
#tools-support
channel and ask the room.
Right now files are organized alphabetically within datasets specific to each D4D channel/workgroup. While data.world will be adding folders or tagging in the near future, currently most datasets only have a handful of files. Therefore, our current best practice is to prefix the filenames to logically group or order them.
Example: Filetype_01_name.pdf
The following file extensions are enhanced during import, which means they can be queried and previewed (tabular files only) within data.world:
- Tabular files: csv, tsv, xls, xlsx
- JSON -> Read about native support for JSON on data.world
- Raw triples / RDF files: rdf, rdfs, owl, jsonld, nt, ttl, n3
The following file extensions can be previewed within data.world:
- jpg, jpeg, png, gif, svg, pdf, md, txt, ipynb (version 4 and higher), js, r, py, json, as, apl, bash, bas, bat, c, cpp, cs, css, d, dart, diff, go, html, ini, java, julia, kt, lua, matlab, nasm, ml, perl, php, ps1, rb, scala, sql, tcl, ts, vim, yaml, xml, asp, jade, tex, less, sass, scss, Dockerfile
For the following formats, we will attempt to extract and store the contained files (up to 50), handling each file based on its extension:
- Archive formats: zip, tar
- Compression formats: tbz2, tbz, bz2, tgz, gz, -gz, z, -z
All other file types can be uploaded and downloaded as long as they are within the supported size limits.
Individual File Upload Limitations: The maximum file size you can upload to data.world is currently 100MB. If you have a file that is larger than that, try compressing the file to get it under the 100MB limit and if that doesn't work, please contact us via a new help ticket. If your file is significantly larger than the maximum, you'll need to split it into multiple files in order to upload it.
Inference & Preview Limitations: Non-tabular files that are previewable only display a preview if less than 40k.
For xls / xlsx, the file must be less than 10MB uncompressed for us to enhance the data so it can be queried and previewed within data.world.
For other tabular files, if the generated triples files are over 5GB, the files will only be downloadable. This is determined behind the scenes on the platform, so if it's a larger tabular file that doesn't display a preview to the data, it means it was too large for us to handle.
Dataset Limitations: There is a maximum of 100 individual files per dataset currently.
data.world API documentation
data.world knowledge base & support site
data.world tutorials
data.world file upload error messages