Skip to content

Commit 1869e51

Browse files
author
Kenneth Daily
authored
Merge pull request #43 from Sage-Bionetworks/kdaily-add-docs-to-readme
Add documentation to README
2 parents 75ccd36 + 9aa94fd commit 1869e51

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
## Information
22

3-
Generate HTML usage reports for Synapse projects.
3+
This R package generates HTML usage reports for Synapse projects.
4+
5+
This tool uses the Synapse Data Warehouse database to run queries and pull REST API access logs for Synapse Projects. To gain access to the data warehouse, please file an IT Jira ticket.
6+
7+
The tool can be used to query for three distinct types of user interactions: downloads (using simple single file REST API endpoints), file download records (using batch and bulk download REST API endpoints), and page views (viewing of Wiki pages). **The use of this tool for counting page views is highly discouraged, as changes to how page loads are optimized, cached, and changed over time can affect the query results, making comparisons over time difficult.**. The use of Google Analytics is a better solution, but is only available on a per-page basis.
8+
9+
Since Synapse entities can be constantly changing, including things like their names, a temporary table is [created](https://github.com/Sage-Bionetworks/synapseusagereports/blob/master/R/lib.R#L145) that retrieves the Synapse IDs of the most recent snapshot of Synapse. This is limited by the Synapse Project ID specified. The queries that are run against the data warehouse are defined [here](https://github.com/Sage-Bionetworks/synapseusagereports/blob/master/R/lib.R#L36-L38).
410

511
## Installation
612

0 commit comments

Comments
 (0)