I'm interested in algorithms for apportioning seats of Congress to states after every decennial Census, for which I'm using Mathematica to test different functions. To this end, I wrote a Notebook that pulls down the decennial population counts (which sometimes different marginally from the built-in population counts in USState entities because of the source, which may be culled from the American Community Survey) as well as historical apportionments--both from Census.gov--and two-letter state abbreviations from the Post Office.

I've publicly published both the Notebook for gathering the data and the data itself on the Wolfram Cloud.

Now I would like to submit this data to the Wolfram Data Repository. I've read the general guidelines for submitting new data to the Repo, but it's not clear to me whether this should be submitted as a standalone extra data resource or, ideally, data that would be baked into the USState entities, ideally as properties like DecennialPopulation and Representatives that would default to the most recent but allow for a specified decade, same as with current population data.

Advice on how to proceed, ideally with examples of how to submit this sort of data? I've read the overview of how the data resources work, but am still working through the mechanics of it. Thanks!


1 Answer 1


You can submit your data for publication in the data repository by turning it into a ResourceObject and using ResourceSubmit.

There is a notebook interface for turning data into a ResourceObject with all the appropriate metadata. You can open it with CreateNotebook["DataResource"]

You will also need a published id to submit to the data repository. You can request one here: https://datarepository.wolframcloud.com/request-publisher-id

  • $\begingroup$ Thanks -- I see how to submit data, but not how to potentially integrate it into existing entities. $\endgroup$ Aug 21, 2018 at 16:52
  • $\begingroup$ The best way to do that is to define an EntityStore, which takes some work but once it is done you can use $EntityStores to integrate it into the entity framework. $\endgroup$ Aug 22, 2018 at 17:05
  • 2
    $\begingroup$ The resources here are the best examples: datarepository.wolframcloud.com/type/Entity-Store $\endgroup$ Aug 22, 2018 at 17:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.