Skip to main content

Marketing Science | Omnicom media group | Comscore Library

Developed by the Omnicom Marketing Science team

Introduction

Comscore is a platform that allows us to know a little more about the behavior of users within the internet.

Thanks to the help of the annalect teams, we have all the information available in our databases.

For this reason, we generate a module that allows consulting the data without having to know SQL.

You can run the different modules of the package through the following link: https://colab.research.google.com/drive/1DAQus4KWhL38OQeTMGLpCACMcmHi99Z9?usp=sharing

However, if you know about python, this package allows you to further customize and standardize your queries, creating programs that execute them periodically.

pip install pycomscore

from pycomscore import comscore_omnicom_database
coms_obj = comscore_omnicom_database(user = 'user', password = 'pass')

Here are some examples of the first methods.

dataframe_geo = coms_obj.demographics_by_web(country = 'mx', start_date = '2020-01-01', end_date = '2020-12-31', 
                                            event_like = 'atv', 
                                            domain = 'brp.com', 
                                            saved = False, 
                                            age_group = True,
                                            ages_between = None, gender_between = None)
dataframe_geo.head(15)

# countries ['us','ar', 'au','br', 'ca', 'cl', 'co', 'hk', 'id', 'in', 'mx', 'my', 'nz', 'sg', 'tw']
all_probabilities, short_frame_probabilities = coms_obj.bayesian_inference_over_sites(country = 'cl', 
                                                                                      domain = 'sodimac.cl', 
                                                                                      time_spent = 300, 
                                                                                      start_date = '2021-01-01',
                                                                                      end_date ='2021-05-01')
short_frame_probabilities.head(15)

If you have any advice, you can write to our team via email at data.analitica@omnicommediagroup.com

Metadata

Release files for pycomscore 0.0.5

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

Source distribution (sdist)

Source distribution for pycomscore 0.0.5
File Size Uploaded Provenance
pycomscore-0.0.5.tar.gz 10.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pycomscore 0.0.5
File Interpreter ABI Platform
pycomscore-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / pycomscore-0.0.5.tar.gz

Download URL pycomscore-0.0.5.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bb9a096f426eb2c9b2fc1cdea83c13508350f41cc5a98025e43fbb9c9f37b51a
BLAKE2b-256 checksum
How to use checksums
ce5dbe33cb8fd70f26656237b019add6608351d18f78008bc1faca78d5111995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

Release files / pycomscore-0.0.5-py3-none-any.whl

Download URL pycomscore-0.0.5-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fff06c9797ca2528e24b4f2ab4951c542a1d5cd64544ae354a194ab802d2c497
BLAKE2b-256 checksum
How to use checksums
5ae97225e5c886f3c54c50a2341ab3f608cf08a802ab111f68c7ac036c4ef5a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

Security for pycomscore 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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