Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

3

Table of Contents
minLevel1
maxLevel7

...

Importantly, this avoids outside developers learning OpenSpecimen APIs and writing custom programs. Writing programs need a lot of programming efforts, can be a maintenance overhead in the long run, and can be error-prone.

Overview

Gliffy
imageAttachmentIdatt2421129223
macroId6aa914f8-819a-4e97-a0d6-738177440a10
baseUrlhttps://openspecimen.atlassian.net/wiki
namewarehouse
diagramAttachmentIdatt2421161992
containerId2421194753
timestamp1645322312760

Notes/References

...

Refer to Reporting to learn how to create queries.

...

Refer to Query Results view on including columns and renaming column header names.

...

Refer to Scheduling Queries on how to schedule queries.

...

Exporting data

  1. Create a Query using OpenSpecimen Query module. Reference Reporting

  2. Include all the fields needed in the data warehouse. Reference Query Results view.

  3. Save the query

  4. Create a Scheduled Job for the saved query using the Jobs module. Select frequency of job run as nightly, weekly, monthly, etc. Reference Scheduling Queries

  5. OpenSpecimen creates a CSV file every time the job is run at the scheduled frequency.

Fetching data Via APIs - (Prefered Option)

Refer to https://openspecimen.atlassian.net/l/c/xi6pnzz0 on how to run the scheduled jobs and download the data output via API.

How to query for records that have been added/updated since the last run?

...