Coder Social home page Coder Social logo

sailngarbwm / seifa Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 31.53 MB

Python library to programatically access geospatially aggregated spatio temporal socioeconomic datasets produced by the Australian Bureau of Statistics

License: Apache License 2.0

Shell 0.01% Jupyter Notebook 98.50% Python 1.32% TeX 0.18%

seifa's People

Contributors

rbturnbull avatar sailngarbwm avatar

Watchers

 avatar

seifa's Issues

Shapely GEO warning

konstantinstadler's review comment from ausdex: rbturnbull/ausdex#5

When installing in a fresh conda environment (Python 3.9) I get the following warning

UserWarning: The Shapely GEOS version (3.10.2-CAPI-1.16.0) is incompatible with the GEOS version PyGEOS was compiled with (3.9.1-CAPI-1.14.2). Conversions between both will be slow.
Downloading https://www.abs.gov.au/statistics/economy/price-indexes-and-inflation/consumer-price-index-australia/mar-2022/640101.xls to /home/konstans/.cache/ausdex/640101-mar-2022.xls
CPI data for 2022-04-11 15:24:00.144389 not available.

Problem with the CLI usage

From konstantinstadler's review comment: rbturnbull/ausdex#2

Hi,

This is connected to the JOSS review.
I tested all examples given in the README and most work. However, if I do

$ ausdex seifa-vic 2020 footscray ier_score

I receive NaN. Full output:

UserWarning: The Shapely GEOS version (3.10.2-CAPI-1.16.0) is incompatible with the GEOS version PyGEOS was compiled with (3.9.1-CAPI-1.14.2). Conversions between both will be slow.
nan
One other oberservations: The interpolate_vic_suburb_seifa values given in the README for the interactive use are 2 units above the values I currently get. Probably due to updates in the upstream db.

Magic numbers in the code

From konstantinstadler's review comment in ausdex: rbturnbull/ausdex#6
The function (in data_io.py)

def download_from_aurin(
    wfs_aurin, dataset, links, local_path, bbox=(96.81, -43.75, 159.11, -9.14)
):

has these 4 magic numbers which should be explained in a docstring or stored in a meaningful variable name.

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.