Message Boards Message Boards

GROUPS:

CloudDeploy a Wolfram dataset?

Posted 2 months ago
488 Views
|
2 Replies
|
0 Total Likes
|

I have tried

CloudDeploy[ResourceData[ResourceObject["Meteorite Landings"] ] ]

this Aborts without any error

POSTED BY: Sag Mk
Answer
2 Replies

I haven't even tried test-deploying it because its size is 80 MB:

ResourceData[ResourceObject["Meteorite Landings"]]//ByteCount
Out[]= 82173672

Do you know if your cloud account allows that type of space / memory / time resources?

This for instance deploys perfectly

CloudDeploy[ExampleData[{"Dataset", "Planets"}], "tmp"]

You should probably contact support and ask your cloud plan permissions.

Posted 2 months ago

I found the solution:

beta = APIFunction[{"tablename" -> "String"},ResourceData[ResourceObject[#tablename] ]& ]
co = CloudDeploy[beta, Permissions->"Public"]

80 MB is very less if it can't handle that then there's really not much use of this platform

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract