The Displayr Drive is where your Displayr documents live and can also be used for saving a variety of files, including images, data sets, custom fonts, page and visualization templates, etc. In addition, you can access a range of features like Data Stacking, Merging (Combine By Case/Variable), and data exporting/publishing. You can even share raw data files or R tables and charts between your company documents. Users without administrator access will only be able to see files that they have permission to access.
For more information about how to manage files in the Displayr Drive, see How to Manage Documents and Files in Displayr.
This article will cover how to save, share, and import files to and from the Displayr Drive.
- Accessing the Displayr Drive
- Organizing the Displayr Drive and setting folder permissions
- Saving to the Displayr Drive
- Importing data from the Displayr Drive
- Downloading a file from the Displayr Drive
- Sharing and unsharing a file from the Displayr Drive
- Moving files between folders on the Displayr Drive
- Deleting items from the Displayr Drive
- View and restore deleted items
- Sharing R objects across Displayr documents
- Sharing templates across Displayr documents
Requirements
- A Displayr account
- Familiarity with User Group permissions. See How to Manage User Groups and Permissions in Displayr for more details.
Accessing the Displayr Drive
1. To access the Displayr Drive page, log in to your Displayr account. If you are already in a Displayr document, click the Displayr button in the top left corner. If you are in your Account Settings, you can access the Displayr Drive at the top right of the page via the Initials icon > Displayr Drive.
2. You will be presented with a list of all the documents and files that are stored within your company's drive.
You can view, filter, and sort files and documents by specific criteria.
- The File Type filter dropdown allows you to filter by file type.
- Clicking the ellipses (three dots) to the far right allows you to add columns to the view, which you can then sort and filter. The columns include Last Modified (date), Last Modified By (person), Published (last published date), Created (date), Created By (person), Last Accessed (date), File Type, and File Size.
- Search finds documents, files, and folders by name and shows each result's folder path. Clicking a file in the search results opens its folder.
You can also work with files from the Displayr Drive within custom R code: How to Access the Displayr Drive Using R.
Organizing the Displayr Drive and setting folder permissions
You can add a folder by clicking New > Folder:
To set folder-level permissions, account administrators can hover over the appropriate folder and click the ellipses symbol on the far right, then select Settings:
- Configure this folder allows you to manually set create, edit, and view permissions, as well as Displayr AI settings. This is selected by default for the Home folder.
- Inherit from the parent folder will automatically apply the permission settings from the parent folder. This is applied by default to sub-folders (child folders).
- Use access configured in Account Settings > Access is used when you want the folder to follow the default access set on the Access tab of Account Settings.
See How to Manage User Groups and Permissions in Displayr for more details. Remember, any changes to these settings will impact any documents and files stored within the folder.
When using folder-based permissions on Displayr Drive files, the following needs to be considered:
- By default, files stored directly within the Home folder will follow your Account Settings permissions.
- If you have folders in your Displayr Drive, you will only see those you have access to and any parent folders that contain them.
- In folders that use account settings, each file has its own editors and viewers. In a folder with configured permissions, the folder decides who can view and edit everything inside it, and Document Settings and File Settings show the folder's groups greyed out.
- Automated built-in processes and those that use the Schedules feature to load, read, or write files to and from the Displayr Drive require the necessary permissions for the document to access any Displayr Drive files. This means any file added to a folder that has configured permissions can only be imported into or updated in a document where every user group that can edit this document also has Edit access to the folder containing the Displayr Drive files. In folders that use account settings, the check is per file: a document can use a file when the file's only editor group is Create/Edit Documents, or when all of the document's editor groups are among the file's editors (administrators always count). The dashboard's file browser lists only files the document can use. These files include:
- Data sets loaded from the Displayr Drive.
- flipAPI R calculations (e.g., QLoadData, QSaveData) which reference Displayr Drive files.
- Combining and stacking data sets.
- Custom fonts (ttf) and crtx template files.
- Images used in dashboards.
- All other loaded files stored within a folder with configured access require the user to be a member of a user group that has access to the folder in which they are stored. These files include:
- QScripts/RScripts
- Templates, e.g., a visualization or variable set template
- QCodes file
Saving to the Displayr Drive
- In your Displayr document, click on the Initials icon > Displayr Drive.
- If you wish to save your file to a folder, navigate to the appropriate folder.
- Click New > Upload File.
- Click Upload files or drag and drop them into the dialog.
- If you clicked Upload files, navigate to where they are stored on your computer and select the files you wish to upload.
- Click Upload.
Note: A warning will appear if the file type (.exe, for example) or count limit is exceeded.
Alternatively, if you already have your data sets loaded in your Displayr document, you can also add these individually via Share > Export Data > To Displayr Drive as SPSS File (.SAV) or To Displayr Drive as CSV File (.CSV), or To Displayr Drive as Q Data File (.QDat). See How to Publish Data to the Displayr Drive for more information.
If you would like to replace an existing file with a new version, see How to Manage Documents and Files in Displayr.
Importing data from the Displayr Drive
- Click Data Source > Plus (+) > Cloud Sources > Displayr Drive and choose the desired file. If your file is stored within a folder, you will need to additionally click through the appropriate folder menus to find your file.
- OPTIONAL: Set the desired update frequency using a schedule.
If you wish to manually update the data ahead of the scheduled refresh, simply click the data set in the Data Sources tree, and from Properties , click Refresh.
Note: If you move a file from the Displayr Drive into a different folder, this method will fail to update the next time new data is fetched, as it is no longer in the same location. You will instead need to point it to the new location to restart the automated process.
Downloading a file from the Displayr Drive
Click the ellipses (three dots) next to the file you wish to download and select Download. Alternatively, click the file's name. The file downloads directly via your browser. If you click on a document or folder name, it will open that item.
Moving files between folders on the Displayr Drive
- Hover over the file you want to move and tick the box that appears to the left of its name.
- Select any other files you want to move.
- Click Move at the top.
- Select the desired location of the files.
- Click Move.
Deleting items from the Displayr Drive
- Hover over the item you want to delete and tick the box that appears to the left of its name.
- Select any other files you want to delete.
- Click Delete at the top.
View and restore deleted items
Deleted items are retained for 30 days. Administrators can view and restore them:
- Click Recently Deleted at the top of the page.
- To restore a deleted item, tick the box next to the item's name (you can select multiple at a time), and click Restore. Restored files return to the Home folder. If an item with the same name already exists, the restored item will be renamed to 'Document Name (2)' or similar.
-
To permanently delete an item, tick the box next to the item's name (you can select multiple at a time), and click Permanently Delete.
Alternatively, you can click on the ellipses that appear to the far right on the item's line and select either Restore or Permanently Delete.
You can sort by the Name and Deleted date, and filter by the time frame of when the item was deleted, up to 30 days.
Sharing and unsharing a file from the Displayr Drive
Not all file types can be shared. If you do not see the Share/Unshare options when viewing the file's options, they cannot be shared.
- Click the ellipses (3 dots)
symbol to view options.
- Click Share to share the file. Once the file has been shared, the URL is displayed where the file can be accessed.
- Copy the URL to share elsewhere.
- Click OK.
If you no longer want the file to be publicly available, you can click Unshare. If you unshare the file, any links to the file will break. If you Share the file again, the link will be different from what it was before.
Sharing R objects across Displayr documents
It is possible to share tables or visualizations created via Visualization with other Displayr documents using the Displayr Drive.
- Select your table or visualization.
- Go to Share > Export Objects > Export Object to Displayr Drive.
- Select the location where you want to save the object.
- Give the file a name and then press Save.
Note that tables are saved as R files (*.rds) and visualizations are saved as R-rendered HTML widgets without the underlying data included. This means they can't be modified once imported via the usual built-in methods.
The way to import these objects into another document is to use some R code:
1. In the toolbar, click Calculation > Custom Code.
2. Click on the page where you wish to place the calculation.
3. Enter the code below, but substitute file_name with the actual name of the file:
library(flipAPI)
QLoadData('file_name.rds')4. Press Calculate.
5. OPTIONAL: While the tables and visualizations will import 'as is ' because they import as an R calculation, you are still able to edit the code further and make modifications there.
See How to Access the Displayr Drive Using R for further details.
Sharing templates across Displayr documents
Users can save and load templates to and from the Displayr Drive for pages, multiple items within a page, visualizations, and custom analysis tools. See below for details:
How to Create and Apply a Visualization Template
How to Create and Apply a Page Template
How to Share a Custom Analysis Tool Between Documents
Next
How to Access the Displayr Drive Using R
Create a Separate Data Preparation Document
How to Publish Data to the Displayr Drive
How to Use a PowerPoint Chart Style Template in a Displayr Export
UPCOMING WEBINAR: How to Hand Half Your Job to AI (the Right Half)