Databin

Databin["id"]
represents a databin in the Wolfram Data Drop.

DetailsDetails

  • In Databin["id"], id can be a short ID, a complete UUID, or a URL.
  • The URL for a databin is always of the form datadrop.wolfram.com/.
  • Databin["id"][request,] executes an operation on the databin.
  • Basic requests for retrieving databin content include:
  • "Data"default view of data in the databin
    "Values"values for data in the databin
    "EventSeries"event series for data in the databin
    "TimeSeries"time series for data in the databin
    "Latest"the latest entry added, with metadata
    "Recent"recent entries, with metadata
    "FullRecords"all databin entries, with metadata
    request,paramsmake a request with parameters params
  • Possible parameters params include:
  • nmost recent n entries
    <|key1val1,|>detailed specification
  • Possible entries in the detailed specification include:
  • "Count"total number of entries
    "StartIndex"index of first entry to include
    "EndIndex"index of last entry to include
    "StartTime"time of first entry to include
    "EndTime"time of last entry to include
  • Databin["id"]["Data"] is equivalent to Get[Databin["id"]].
  • Databin["id"]["Values"] is equivalent to Values[Databin["id"]].
  • Requests related to adding data to a databin include:
  • "Add",dataadd data to the databin
    "WebForm"cloud-deployed form for adding data to the databin
  • Databin["id"]["Add",data] is equivalent to DatabinAdd["id",data].
  • Databin["id"]["Add",data,"Authorization"->token] includes an authorization token, which must match a token specified when the databin was created.
  • Databin["id"]["Add",data,"Timestamp"date] includes a custom time stamp for a databin entry.
  • Databin identification operations include:
  • "ShortID"short ID for the databin
    "UUID"full UUID for the databin
    "ShortURL"short URL for the databin
    "URL"full UUID-based URL for the databin
    "Name"name assigned to the databin
  • Databin metadata requests include:
  • "Information"information about the databin
    "Interpretation"interpretation signature for the databin
    "Entries"number of entries in the databin
    "Size"size of the databin contents
    "Keys"key names in the databin interpretation signature
    "LatestDate"date the latest entry was added
    "CreationDate"date the databin was first created
    "ExpirationDate"date the databin expires
    "Class"class used to create the databin
  • Databin["id"]["Keys"] is equivalent to Keys[Databin["id"]].
  • Databin access control operations include:
  • "Permissions"permissions for the databin
    "Owner"Wolfram ID of the owner of the databin
    "Administrators"Wolfram IDs of the administrators of the databin
    "Creator"Wolfram ID of the creator of the databin
  • Databin report generation operations include:
  • "Report"report on the databin, given as a local notebook
    "WebReport"report on the databin, given as a cloud notebook
  • Some operations on a databin may require authentication in the Wolfram Cloud.
  • The options, such as permissions of a databin, can be found using Options and set using SetOptions.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Create and use a new databin:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Load an existing databin:

In[1]:=
Click for copyable input
Out[1]=

Get the time series data and plot it:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)