Code Monkey home page Code Monkey logo

py-dwc-viz's Introduction

PyDwcViz

pypi Build and Deploy docs Tests

A python package that makes Darwin-Core Data analysis and visualization easy.

Installation

Install latest development version from GitHub

pip install git+git://github.com/marinebon/py-dwc-viz.git

Modules

Module Description
diversity Generate biodiversity indices for species analysis.
map Visualize DwC data easily on maps
stats Visualize distribution of records and environmental parameters.
taxon Visualize taxonomic distributions.

Documentation

The documentation can be found at GitHub Pages.

Authors

Open-sourced and Built with ❤️ by MBON volunteers

py-dwc-viz's People

Contributors

7yl4r avatar ayushanand18 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ayushanand18

py-dwc-viz's Issues

Setting up tasks and objectives

I think it would be great to set-up a task-list of things to accomplish for this project. That will help us get started with things easier and faster.

make dwc_make_map function?

This looks like a great package of nice tools! As I'm working more and more with DwC data, either during reformatting or extracting using pyobis, I find myself rewriting this little bit of code in all my notebooks to make a simple map of observations. It got me thinking, is this something that would be appropriate to be added to this package?

Something like py-dwc-viz.dwc_make_map(DataFrame), where DataFrame contains decimalLongitude and decimalLatitude, at a minimum.

import matplotlib.pyplot as plt
import geopandas as gpd

  # read into geopandas dataframe for plotting
gdf = gpd.GeoDataFrame(
    df, 
    geometry=gpd.points_from_xy(df.decimalLongitude, df.decimalLatitude),
    crs = "epsg:4326",
    )


fig, ax = plt.subplots(figsize=(20,10))

gdf.plot(ax=ax, markersize=5, zorder=10, legend=True)

world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))

world = world.to_crs(gdf.crs)

world.plot(ax=ax, color='lightgrey', edgecolor='white', zorder=1)

ax.set_axis_off()

plt.show()

publish on PyPI?

I think this package could be made more usable (and useful) if published on PyPI and/or Conda-Forge.

visualization of taxa distribution (tree?)

I wonder if there is a better way to visualize a distribution of different taxa.
A plot of taxa counts is common (example below).

image

However, taxa fall into a tree structure, and a visualization that includes this nuance would be more informative.
Something like:

image

Potentially useful references:

  • ETETree : python toolkit for visualizing tree structures

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.