Create a Data Resource
Create a custom data resource from personal data stored in a local object.
Connect to Twitter and get some data.
In[1]:=
twitter = ServiceConnect["Twitter"];
In[2]:=
friendgraph = ServiceExecute[twitter, "FriendNetwork"];
Out[2]=
Export the data to a local object and create a resource object.
In[3]:=
lo = Export[LocalObject[], friendgraph, "MX"]
Out[3]=
In[4]:=
ResourceObject[<|
"Name" -> "My Twitter Graph",
"ResourceType" -> "DataResource",
"ContentLocation" -> lo,
"Description" ->
"A network of friendships within my twitter community"
|>]
Out[4]=
Obtain the data back.
In[5]:=
ResourceData["My Twitter Graph"]
Out[5]=