Copying the current state of a dataset into an independent snapshot
Is there an easy way (beyond exporting and reimporting a dataset as CSV, which can lead to export/import errors) to capture the current state of a dataset and copy it into a new, independent dataset? Say I'm looking at a dataset that updates daily using a complicated connector, I don't want to copy the actual connector config; I just want that data copied as it is now into a basic table, like a basic CSV, or even an editable Domo Webform (even better). I can then use that new dataset without fear that it will change the next time the connector runs.
Anything I missed, or any easy way to make this happen? Right now, I'm creating a manual dataflow that simply has an input (the source dataset) and an output (the snapshot copy that I want), an I'll essentially be very careful never to run it again once I'm done.
I must be missing something...
Best Answers
-
Assuming that your connector update settings are "Replace" there may be a quick fix. You could set the dataflow to just append rows - then you get a "snapshot" for each time the dataset updates. This will lead to a lot of duplicate data, which you can easily filter out for your analysis by filtering on either _BATCH_ID_ (running counter of how many times that dataset has been updated) or _BATCH_LAST_RUN_ (date field of the last update time). Any analysis using a filter on these would always use the same data and you would have the bonus of getting a snapshot every day - so the dataset would change, but any new data added would not affect your snapshot.
Alternatively, you could just recreate the connector with the "Append" setting and you would have a completely independent dataset (not just one connected in a dataflow). Just changing the update settings of the existing connector would require you to filter for the most recent batch in all connected cards so you do not get inflated numbers.
1 -
User006901,
Domo just released a connector to allow you to copy DataSets with your instnace or across instances if you have more than one for some reason. Go to the data center -> DataSets -> Click on New -> Cloud App and then search for "Copy." This will bring up the "DataSet Copy" connector.
Work with your Major Domo to generate an access token for your instance. Once you have this you can use your user name, password, access token, and data set Id to create a copy of the data set you want to copy.
Try that an let us know how it works for you!
1
Answers
-
Hi User0069901 - I am looking to see if we have any other options for you now.
Stay tuned!
1 -
Assuming that your connector update settings are "Replace" there may be a quick fix. You could set the dataflow to just append rows - then you get a "snapshot" for each time the dataset updates. This will lead to a lot of duplicate data, which you can easily filter out for your analysis by filtering on either _BATCH_ID_ (running counter of how many times that dataset has been updated) or _BATCH_LAST_RUN_ (date field of the last update time). Any analysis using a filter on these would always use the same data and you would have the bonus of getting a snapshot every day - so the dataset would change, but any new data added would not affect your snapshot.
Alternatively, you could just recreate the connector with the "Append" setting and you would have a completely independent dataset (not just one connected in a dataflow). Just changing the update settings of the existing connector would require you to filter for the most recent batch in all connected cards so you do not get inflated numbers.
1 -
User006901,
Domo just released a connector to allow you to copy DataSets with your instnace or across instances if you have more than one for some reason. Go to the data center -> DataSets -> Click on New -> Cloud App and then search for "Copy." This will bring up the "DataSet Copy" connector.
Work with your Major Domo to generate an access token for your instance. Once you have this you can use your user name, password, access token, and data set Id to create a copy of the data set you want to copy.
Try that an let us know how it works for you!
1 -
Please mark any of the replies to your question as "Accept as Solution" if they solved your problem.
Thanks!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 296 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive