credo-science / credo-science/credo-api-tools

Can add information?

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Can you add information here (https://github.com/credo-science/credo-api-tools/tree/master/data-exporter) on how to download detections from a given time? for example:

You can download everything by default, or decide yourself from what date.
For this purpose, in the main directory (ie "credo-data-export") in the "last_exported_detection" file (if there is no file to create it) enter the date in the appropriate format - timestamp.

The date in this format can be obtained, among others, on the website:
https://www.unixtimestamp.com/index.php
By entering the year, month, day and then clicking on "convert" - this way we get a 10-digit date with an accuracy of the second. The file should contain the date with the accuracy of a microsecond, (add 3 zeros to the end).
Example:
The website includes the date: May 25, 2020
we get: 1590364800
we add 3x0 to finally have: 1590364800000

And in this way, we will only download data from May 25, 2020.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the documentation in the data-exporter directory and how the last_exported_detection file is used. Add instructions covering the default full download, creating or editing the file with a microsecond timestamp, and checking the resulting date-based export behavior; the documentation should be understandable without external context.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.