DatabinUpload[bin,{entry1,entry2,…}]
bulk uploads all the entries entryi to a databin.
DatabinUpload[bin,EventSeries[…]]
bulk uploads all entries in an event series to a databin.
DatabinUpload
DatabinUpload[bin,{entry1,entry2,…}]
bulk uploads all the entries entryi to a databin.
DatabinUpload[bin,EventSeries[…]]
bulk uploads all entries in an event series to a databin.
Details
- In DatabinUpload[bin,…], bin can be a Databin object or databin ID.
- The entries to be uploaded will typically be associations of the form <|"param1"->val1,…|>, but can be any expression.
- In DatabinUpload[bin,EventSeries[…]], the time stamps in the event series are used to determine the time stamps of each entry in the databin.
- TimeSeries can be used in place of EventSeries.
- Time stamps can also be specified by including a "Timestamp" element in the association given for each entry.
- DatabinUpload requires authentication in the Wolfram Cloud.
Examples
open all close allBasic Examples (2)
bin = CreateDatabin[]DatabinUpload[bin, {1, 2, 3, 4, 5}]Each element of the list is an entry in the databin:
Values[bin]Create a new databin and upload a list of entries:
bin = CreateDatabin["Name" -> "S&P 500"]DatabinUpload[bin, ExampleData[{"Statistics", "SP500"}]]Scope (1)
Create a databin with defined interpretation:
bin = CreateDatabin[<|"Name" -> "Animal Sizes", "Interpretation" -> {"Name" -> "String", "BodyWeight" -> Restricted["StructuredQuantity", "Kilograms"], "BrainWeight" -> Restricted["StructuredQuantity", "Grams"]}|>]Typically, entries are given as a list of associations:
data = AssociationThread[{"Name", "BodyWeight", "BrainWeight"} -> #]& /@ ExampleData[{"Statistics", "AnimalWeights"}];
Take[data, 5]DatabinUpload[bin, data]Retrieve the interpreted data:
Take[Normal[bin], 5]Properties & Relations (2)
If no timestamp is specified, all entries will have the same timestamp:
bin = DatabinUpload[CreateDatabin[], {<|"x" -> 1|>, <|"x" -> 2|>, <|"x" -> 3|>}]bin["Timestamps"]Timestamps can be specified as a value in each entry:
DatabinUpload[bin, {<|"x" -> 4, "Timestamp" -> "Jan. 1"|>, <|"x" -> 5, "Timestamp" -> "Feb. 1"|>, <|"x" -> 6, "Timestamp" -> "Mar. 1"|>}]bin["Timestamps"]DatabinAdd treats a list as a single entry:
bin = DatabinAdd[CreateDatabin[], {"a", "b", "c"}]DatabinUpload treats a list as a list of entries:
DatabinUpload[bin, {"a", "b", "c"}]Values[bin]Related Guides
Related Workflows
- Set Up a Repeated-Use Form Page
Related Links
History
Text
Wolfram Research (2015), DatabinUpload, Wolfram Language function, https://reference.wolfram.com/language/ref/DatabinUpload.html.
CMS
Wolfram Language. 2015. "DatabinUpload." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DatabinUpload.html.
APA
Wolfram Language. (2015). DatabinUpload. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DatabinUpload.html
BibTeX
@misc{reference.wolfram_2026_databinupload, author="Wolfram Research", title="{DatabinUpload}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/DatabinUpload.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_databinupload, organization={Wolfram Research}, title={DatabinUpload}, year={2015}, url={https://reference.wolfram.com/language/ref/DatabinUpload.html}, note=[Accessed: 13-June-2026]}