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

Download files

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

Source Distribution

pycomscore-0.0.5.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycomscore-0.0.5-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file pycomscore-0.0.5.tar.gz.

File metadata

  • Download URL: pycomscore-0.0.5.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pycomscore-0.0.5.tar.gz
Algorithm Hash digest
SHA256 bb9a096f426eb2c9b2fc1cdea83c13508350f41cc5a98025e43fbb9c9f37b51a
MD5 7c1b2bbaedfd1832d0a8d8d0181a0ad2
BLAKE2b-256 ce5dbe33cb8fd70f26656237b019add6608351d18f78008bc1faca78d5111995

See more details on using hashes here.

File details

Details for the file pycomscore-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: pycomscore-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pycomscore-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fff06c9797ca2528e24b4f2ab4951c542a1d5cd64544ae354a194ab802d2c497
MD5 3881786f4371cd95db5637ee84e9ddcd
BLAKE2b-256 5ae97225e5c886f3c54c50a2341ab3f608cf08a802ab111f68c7ac036c4ef5a7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

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