Skip to main content

A toolkit to aid in scientific mapping

Project description

tesci

An interactive toolkit for merging data from multiple citation databases

PyPI License-1 License-2 Python-Versions

Overview

TeslaSCIToolkit (abbrev. tesci) is a scientific mapping tool that comes with the following features:

  1. Merging data from multiple citation databases
  2. Restricting access to sensitive columns in data sources with aggregations
  3. Exporting transformed data into other repositories
  4. CI/CD integration, currently GitHub Actions

For examples and use-cases, see examples directory.

Quickstart

Aggregating data from a single database source

To create an aggregation of simple.csv based on average salary and age.

1. Interactive approach

tesci start -d simple.csv -o exported.csv​
tesci aggregate avg -c salary -a avg_salary​
tesci aggregate avg -c age -a avg_age​
tesci apply​

2. Configuration approach

aggregate:​
  - alias: avg_salary​
    column: salary​
    function: avg​
  - alias: avg_age​
    column: age​
    function: avg​
data:​
  dest: exported.csv​
  src: simple.csv

The result is a transformation from simple.csv to exported.csv:

idnameemailphone-numberagesalary
1John Doejohn@mail.com123456789033100000
2Jane Doejane@mail.com098765432144200000
3John Smithsmith@mail.com123450987655300000
4Jane Williamsjwilliams@mail.com12345098763198000
5Jack Miller12345098763379000
avg_salaryavg_age
155400.039.2

Merging data from multiple citation databases

After retrieving data sources from citation databases of your choice, place the databases in a directory of your choice. Then, specify the configuration used for merging. An example of a configuration is here.

After specifying your configuration choices, merge can then by run with:

tesci similarity merge --first-src PATH --second-src PATH --dest DIR

where PATH and DIR refer to relative filesystem paths and directories.

License

Licensed under either of Apache License, Version 2.0 or MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tesci-1.0.1.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tesci-1.0.1-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file tesci-1.0.1.tar.gz.

File metadata

  • Download URL: tesci-1.0.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for tesci-1.0.1.tar.gz
Algorithm Hash digest
SHA256 48b715c0783affc73185f8560f32452a6f415431c5a755d8faacb1412e72b2ef
MD5 7ae6c9eb3f9d8e7eb8bca74615d4e950
BLAKE2b-256 6f0749ac64a1159c0c4a0c7a5ba5d190500353b02a822d01ac8d5efa2aedce5d

See more details on using hashes here.

File details

Details for the file tesci-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: tesci-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for tesci-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a94309f59901ac80052f787c125ef7a4524c652adcc3cd06191b340b75346874
MD5 503688aca34ac0b475b9f635c71673b5
BLAKE2b-256 9b60eacc655c51f8310c1694edb46178d34cbd61fc24bdc7f35d1216b9f8480a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page