Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

A Python 3 API for researchdata.ands.org.au

Project description

# Research-Data-Australia-API

researchdata.ands.org.au Python 3 API

## How To

#### Install

python3 -m pip install ResearchDataAU

#### Simple Query of Research Data Australia

from researchdata_au import ResearchData

rd = ResearchData()

json_ = rd.query(q='unemployment')


#### A little more complex query


from researchdata_au import ResearchData

rd = ResearchData()

json_ = rd.query(q='unemployment',
rows = 30,
year_from=1991,
year_to=2016,
group=['Central Queensland University', 'Australian National Corpus'])


#### Get a generator of 100 document items


from researchdata_au import ResearchData

rd = ResearchData()

gen_ = rd.query_for_docs(q='unemployment', rows=100)


#### Get a list of title/id tuples


from researchdata_au import ResearchData

rd = ResearchData(q='income', rows=30)

list_ = rd.get_titles_and_ids()



#### Look at an items details


from researchdata_au import ResearchData

rd = ResearchData()

json_ = rd.object_details(object_id=444926)



#### Get external link of article


from researchdata_au import ResearchData

rd = ResearchData()

tup_ = rd.get_external_link(object_id=444926)



#### Filter by subject/area of research


from researchdata_au import ResearchData

rd = ResearchData(q='income')

json_ = rd.filter_by_subject()



##### Note: Object Id is the id for each article

Project details


Release history Release notifications

This version
History Node

0.1.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ResearchDataAU-0.1.2.tar.gz (5.0 kB) Copy SHA256 hash SHA256 Source None Nov 7, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page