6
$\begingroup$

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!

$\endgroup$
2
$\begingroup$

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

$\endgroup$
  • $\begingroup$ Thanks -- I see how to submit data, but not how to potentially integrate it into existing entities. $\endgroup$ – Chris Wilson Aug 21 '18 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$ – Bob Sandheinrich Aug 22 '18 at 17:05
  • 2
    $\begingroup$ The resources here are the best examples: datarepository.wolframcloud.com/type/Entity-Store $\endgroup$ – Bob Sandheinrich Aug 22 '18 at 17:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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