https://github.com/bencevans/camtrap-dp-rs

CamTrap Data Package (DP) v1.0 Rust Interface

https://github.com/bencevans/camtrap-dp-rs

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.2%) to scientific vocabulary

Keywords

camera-traps camtrap-dp ecology
Last synced: 6 months ago · JSON representation

Repository

CamTrap Data Package (DP) v1.0 Rust Interface

Basic Info
  • Host: GitHub
  • Owner: bencevans
  • License: mit
  • Language: Rust
  • Default Branch: main
  • Homepage:
  • Size: 35.2 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
camera-traps camtrap-dp ecology
Created over 2 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

camtrap_dp

Documentation Crate License

Description

camtrap_dp is a Rust crate designed for handling Camera Trap Data Packages as specified by the Camera Trap Data Package standard. It provides a standardized format for describing camera trap deployments and the media files recorded, based on Data Package and Tabular Data Package specifications.

This library streamlines both reading and writing camera trap data, including deployments, media files, and observations derived from these files.

Features

  • Structures for representing camera trap deployments, media files, and observations.
  • CSV serialization and deserialization capabilities.
  • Comprehensive handling of various camera trap data attributes.

Installation

Add camtrap_dp as a dependency in your Cargo.toml:

toml [dependencies] camtrap_dp = "0.1.0" # Replace with the latest version

Usage

Reading Data

Reading deployment and media data example:

```rust use camtrap_dp::{Deployment, Medium, Observation};

// Reading deployment data from a CSV file let deployments = Deployment::from_file("path/to/deployments.csv").unwrap();

// Reading media data from a URL let mediadata = Medium::fromurl("http://example.com/media.csv").unwrap();

// Reading observations from a file let observations = Observation::from_file("path/to/observations.csv").unwrap(); ```

Writing Data

Writing deployment data to a CSV file example:

rust // Assuming deployments is a Vec<Deployment> populated with data deployments.to_file("path/to/output/deployments.csv").unwrap();

Contributing

Contributions are welcome! Feel free to report issues, suggest features, or submit pull requests on our GitHub repository.

License

camtrap_dp is licensed under the MIT License - see the LICENSE file for more information.

Acknowledgments

Thanks to all contributors and the teams behind the Camera Trap Data Package standards.

Owner

  • Name: Ben Evans
  • Login: bencevans
  • Kind: user
  • Location: London, UK
  • Company: Institute of Zoology, ZSL

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cargo 1,391 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
crates.io: camtrap_dp

CamTrap DP Interface

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 1,391 Total
Rankings
Dependent repos count: 30.8%
Dependent packages count: 36.1%
Average: 55.1%
Downloads: 98.4%
Maintainers (1)
Last synced: 6 months ago