imsciences 0.9.5.4__tar.gz → 0.9.5.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/PKG-INFO +25 -22
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/README.md +24 -21
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences/pull.py +726 -577
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences/unittesting.py +0 -1
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences.egg-info/PKG-INFO +25 -22
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/setup.py +1 -1
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/LICENSE.txt +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences/__init__.py +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences/geo.py +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences/mmm.py +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences/vis.py +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences.egg-info/PKG-INFO-IMS-24Ltp-3 +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences.egg-info/SOURCES.txt +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences.egg-info/dependency_links.txt +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences.egg-info/requires.txt +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/imsciences.egg-info/top_level.txt +0 -0
- {imsciences-0.9.5.4 → imsciences-0.9.5.5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: imsciences
|
|
3
|
-
Version: 0.9.5.
|
|
3
|
+
Version: 0.9.5.5
|
|
4
4
|
Summary: IMS Data Processing Package
|
|
5
5
|
Author: IMS
|
|
6
6
|
Author-email: cam@im-sciences.com
|
|
@@ -35,23 +35,33 @@ The **Independent Marketing Sciences** package is a Python library designed to p
|
|
|
35
35
|
- Seamless data processing for time series workflows.
|
|
36
36
|
- Aggregation, filtering, and transformation of time series data.
|
|
37
37
|
- Visualising Data
|
|
38
|
-
- Integration with external data sources like FRED, Bank of England
|
|
38
|
+
- Integration with external data sources like FRED, Bank of England and ONS.
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
42
42
|
Table of Contents
|
|
43
43
|
=================
|
|
44
44
|
|
|
45
|
-
1. [
|
|
46
|
-
2. [Data Processing for
|
|
47
|
-
3. [Data
|
|
48
|
-
4. [Data
|
|
49
|
-
5. [
|
|
50
|
-
6. [
|
|
45
|
+
1. [Usage](#usage)
|
|
46
|
+
2. [Data Processing for Time Series](#data-processing-for-time-series)
|
|
47
|
+
3. [Data Processing for Incrementality Testing](#data-processing-for-incrementality-testing)
|
|
48
|
+
4. [Data Visualisations](#data-visualisations)
|
|
49
|
+
5. [Data Pulling](#data-pulling)
|
|
50
|
+
6. [Installation](#installation)
|
|
51
51
|
7. [License](#license)
|
|
52
52
|
|
|
53
53
|
---
|
|
54
54
|
|
|
55
|
+
## Usage
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
from imsciences import dataprocessing, geoprocessing, datapull, datavis
|
|
59
|
+
ims_proc = dataprocessing()
|
|
60
|
+
ims_geo = geoprocessing()
|
|
61
|
+
ims_pull = datapull()
|
|
62
|
+
ims_vis = datavis()
|
|
63
|
+
```
|
|
64
|
+
|
|
55
65
|
## Data Processing for Time Series
|
|
56
66
|
|
|
57
67
|
## 1. `get_wd_levels`
|
|
@@ -298,8 +308,8 @@ Table of Contents
|
|
|
298
308
|
|
|
299
309
|
## 6. `pull_weather`
|
|
300
310
|
- **Description**: Fetch and process historical weather data for the specified country.
|
|
301
|
-
- **Usage**: `pull_weather(week_commencing, country)`
|
|
302
|
-
- **Example**: `pull_weather('mon', 'GBR')`
|
|
311
|
+
- **Usage**: `pull_weather(week_commencing, start_date, country)`
|
|
312
|
+
- **Example**: `pull_weather('mon', '2020-01-01', 'GBR')`
|
|
303
313
|
|
|
304
314
|
## 7. `pull_macro_ons_uk`
|
|
305
315
|
- **Description**: Fetch and process time series data from the Beta ONS API.
|
|
@@ -311,6 +321,11 @@ Table of Contents
|
|
|
311
321
|
- **Usage**: `pull_yfinance(tickers, week_start_day)`
|
|
312
322
|
- **Example**: `pull_yfinance(['^FTMC', '^IXIC'], 'mon')`
|
|
313
323
|
|
|
324
|
+
## 9. `pull_sports_events`
|
|
325
|
+
- **Description**: Pull a veriety of sports events primaraly football and rugby.
|
|
326
|
+
- **Usage**: `pull_sports_events(start_date, week_commencing)`
|
|
327
|
+
- **Example**: `pull_sports_events('2020-01-01', 'mon')`
|
|
328
|
+
|
|
314
329
|
---
|
|
315
330
|
|
|
316
331
|
## Installation
|
|
@@ -323,18 +338,6 @@ pip install imsciences
|
|
|
323
338
|
|
|
324
339
|
---
|
|
325
340
|
|
|
326
|
-
## Usage
|
|
327
|
-
|
|
328
|
-
```bash
|
|
329
|
-
from imsciences import *
|
|
330
|
-
ims_proc = dataprocessing()
|
|
331
|
-
ims_geo = geoprocessing()
|
|
332
|
-
ims_pull = datapull()
|
|
333
|
-
ims_vis = datavis()
|
|
334
|
-
```
|
|
335
|
-
|
|
336
|
-
---
|
|
337
|
-
|
|
338
341
|
## License
|
|
339
342
|
|
|
340
343
|
This project is licensed under the MIT License. 
|
|
@@ -8,23 +8,33 @@ The **Independent Marketing Sciences** package is a Python library designed to p
|
|
|
8
8
|
- Seamless data processing for time series workflows.
|
|
9
9
|
- Aggregation, filtering, and transformation of time series data.
|
|
10
10
|
- Visualising Data
|
|
11
|
-
- Integration with external data sources like FRED, Bank of England
|
|
11
|
+
- Integration with external data sources like FRED, Bank of England and ONS.
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
Table of Contents
|
|
16
16
|
=================
|
|
17
17
|
|
|
18
|
-
1. [
|
|
19
|
-
2. [Data Processing for
|
|
20
|
-
3. [Data
|
|
21
|
-
4. [Data
|
|
22
|
-
5. [
|
|
23
|
-
6. [
|
|
18
|
+
1. [Usage](#usage)
|
|
19
|
+
2. [Data Processing for Time Series](#data-processing-for-time-series)
|
|
20
|
+
3. [Data Processing for Incrementality Testing](#data-processing-for-incrementality-testing)
|
|
21
|
+
4. [Data Visualisations](#data-visualisations)
|
|
22
|
+
5. [Data Pulling](#data-pulling)
|
|
23
|
+
6. [Installation](#installation)
|
|
24
24
|
7. [License](#license)
|
|
25
25
|
|
|
26
26
|
---
|
|
27
27
|
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
from imsciences import dataprocessing, geoprocessing, datapull, datavis
|
|
32
|
+
ims_proc = dataprocessing()
|
|
33
|
+
ims_geo = geoprocessing()
|
|
34
|
+
ims_pull = datapull()
|
|
35
|
+
ims_vis = datavis()
|
|
36
|
+
```
|
|
37
|
+
|
|
28
38
|
## Data Processing for Time Series
|
|
29
39
|
|
|
30
40
|
## 1. `get_wd_levels`
|
|
@@ -271,8 +281,8 @@ Table of Contents
|
|
|
271
281
|
|
|
272
282
|
## 6. `pull_weather`
|
|
273
283
|
- **Description**: Fetch and process historical weather data for the specified country.
|
|
274
|
-
- **Usage**: `pull_weather(week_commencing, country)`
|
|
275
|
-
- **Example**: `pull_weather('mon', 'GBR')`
|
|
284
|
+
- **Usage**: `pull_weather(week_commencing, start_date, country)`
|
|
285
|
+
- **Example**: `pull_weather('mon', '2020-01-01', 'GBR')`
|
|
276
286
|
|
|
277
287
|
## 7. `pull_macro_ons_uk`
|
|
278
288
|
- **Description**: Fetch and process time series data from the Beta ONS API.
|
|
@@ -284,6 +294,11 @@ Table of Contents
|
|
|
284
294
|
- **Usage**: `pull_yfinance(tickers, week_start_day)`
|
|
285
295
|
- **Example**: `pull_yfinance(['^FTMC', '^IXIC'], 'mon')`
|
|
286
296
|
|
|
297
|
+
## 9. `pull_sports_events`
|
|
298
|
+
- **Description**: Pull a veriety of sports events primaraly football and rugby.
|
|
299
|
+
- **Usage**: `pull_sports_events(start_date, week_commencing)`
|
|
300
|
+
- **Example**: `pull_sports_events('2020-01-01', 'mon')`
|
|
301
|
+
|
|
287
302
|
---
|
|
288
303
|
|
|
289
304
|
## Installation
|
|
@@ -296,18 +311,6 @@ pip install imsciences
|
|
|
296
311
|
|
|
297
312
|
---
|
|
298
313
|
|
|
299
|
-
## Usage
|
|
300
|
-
|
|
301
|
-
```bash
|
|
302
|
-
from imsciences import *
|
|
303
|
-
ims_proc = dataprocessing()
|
|
304
|
-
ims_geo = geoprocessing()
|
|
305
|
-
ims_pull = datapull()
|
|
306
|
-
ims_vis = datavis()
|
|
307
|
-
```
|
|
308
|
-
|
|
309
|
-
---
|
|
310
|
-
|
|
311
314
|
## License
|
|
312
315
|
|
|
313
316
|
This project is licensed under the MIT License. 
|