Skip to main content

This is a module that allows you to connect to the Comscore library developed by Annalect and obtain synthesized information

Project description

Marketing Science | Admetricks 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:

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

Project details


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.1.tar.gz (10.2 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.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycomscore-0.0.1.tar.gz
  • Upload date:
  • Size: 10.2 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.1.tar.gz
Algorithm Hash digest
SHA256 c50a15c234e76aa8c35fec12c1b8d0a2fc2268ee174b46ab8cb13dfa7746ca94
MD5 a39f6266c8c47c5ac488bb3e5f0c2edb
BLAKE2b-256 c35a382d7cafa503ec0fb29631bc27f162e9651d679baf3a8a4834205e47aeaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycomscore-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc940a81102aa77db4336abb9ff6ac2d85d1b6d261856fcccdad4f897b9e7141
MD5 09af638450cbe08595e2bbfb10b7c48f
BLAKE2b-256 94d28adfbebf6540742c9cceac43e433f5bf8e0e09f5a34a3d1a999bf05ca326

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page