Skip to main content

Event data from the Basque Country

This package has been developed using event data from the Open Data Euskadi api. Several functions have been created to facilitate users the interpretation of the data. The following variables have been used:

  • Event type
  • Name of the event
  • Municipality
  • Establishment
  • Opening/Closing hours
  • Price
  • URL

Functions

Function Description Inputs
data_api Used by other functions to obtain data from the api Api URL
info_events Gets event data from an specific month in Month, year & language (basque or spanish)
year_data Displays two barplots Year and boolean value (True or False)
download Downloads the data Month, year and format (csv or json)

File structure

examples 
    datos_año.JPG
basque_events
    basque_events.py
    __init__.py
LICENSE.txt
README.md
setup.cfg
setup.py

Dependencies

  • Pandas - Tools for manipulating different data types.
  • Matplotlib - Graph creation.
  • Request - Obtain requested data from the api.
  • Seaborn - Easy to use data visualization.

Installation

pip install basque_events

Use case

import basque_events as be

# Event info from 2021/01
be.events_info(2021, 1, 'eus')

# Download data from 2021/05 in csv format
be.download(2021, 5, 'es', 'csv')

# Display two barplots with event data from 2021 
be.year_data(2021, True)

Graph

License

MIT

Authors

Mikel Madariaga & Naroa Barrutia

Metadata

Release files for basque-events 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for basque-events 1.2
File Size Uploaded
basque_events-1.2.tar.gz 4.9 kB Details

Release files / basque_events-1.2.tar.gz

Download URL basque_events-1.2.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
855f79a88865854874cadedb8b311f4eb474ab8e585f03a6d120e780df2dc4b9
BLAKE2b-256 checksum
How to use checksums
988e09dfb2a6d4dd07bf038b866ce744f337c93b590c3121a99235f112b23c30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page