Skip to content

Commit

Permalink
fix typos and layout in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccxzhang committed Nov 1, 2023
1 parent 102f056 commit 6f4c337
Show file tree
Hide file tree
Showing 7 changed files with 264 additions and 68 deletions.
86 changes: 41 additions & 45 deletions docs/ais_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,68 +23,64 @@ Set-up

Pacific Island Countries

### Federated States of Micronesia

````{tab-set}
``` {tab-item} Federated States of Micronesia
<div id= "content">
<iframe src="interactive/ais/Micronesia2019.html" name="Micronesia" id="Micronesia" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>

- Fiji - no data prep yet

### Kiribati

</div>
```
``` {tab-item} Fiji
No data prep yet
```
```{tab-item} Kiribati
<div id= "content">
<iframe src="interactive/ais/Kiribati2019.html" name="Kiribati" id="Kiribati" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>
</div>

### Marshall Islands

```
```{tab-item} Marshall Islands
<div id= "content">
<iframe src="interactive/ais/Marshall-Islands2019.html" name="Marshall" id="Marshall" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>
</div>

### Nauru

```
```{tab-item} Nauru
<div id= "content">
<iframe src="interactive/ais/Nauru2019.html" name="Nauru" id="Nauru" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>
</div>

### Palau

```
```{tab-item} Palau
<div id= "content">
<iframe src="interactive/ais/Palau2019.html" name="Palau" id="Palau" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>
</div>

- Papua New Guinea - no data prep yet​

### Samoa

```
```{tab-item} Papua New Guinea
No data prep yet
```
```{tab-item} Samoa
<div id= "content">
<iframe src="interactive/ais/Samoa2019.html" name="Samoa" id="Samoa" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>
</div>

### Solomon Islands

```
```{tab-item} Solomon Islands
<div id= "content">
<iframe src="interactive/ais/SolomonIslands2019.html" name="Solomon" id="Solomon" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>
</div>

### Tonga

```
```{tab-item} Tonga
<div id= "content">
<iframe src="interactive/ais/Tonga2019.html "name="Tonga" id="Tonga" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>
</div>

### Tuvalu

```
```{tab-item} Tuvalu
<div id= "content">
<iframe src="interactive/ais/Tuvalu2019.html" name="Tuvalu" id="Tuvalu" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>
</div>

### Vanuatu

```
```{tab-item} Vanuatu
<div id= "content">
<iframe src="interactive/ais/Vanuatu2019.html" name="Vanuatu" id="Vanuatu" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen=""></iframe>
</div>
```
````

## Trade Estimation Methodologies

Expand All @@ -95,26 +91,26 @@ Pacific Island Countries
- <a href="https://www.imf.org/en/Publications/WP/Issues/2019/12/13/Big-Data-on-Vessel-Traffic-Nowcasting-Trade-Flows-in-Real-Time-48837"><b>2019 IMF: Big Data on Vessel Traffic: Nowcasting Trade Flows in Real Time</b><a>
- Port Calls created by Marine Traffic
- Data waterfall
1. Exclude: speed > 1.0 knot
2. Exclude: Anchorage and bunkering tankers - remove bunkering tankers
- Fuel supplied to foreign vessels should be recorded as exports of the country according to international standards, although it is recognized that data collection may be challenging.6 Since the inclusion of these tankers introduces considerable volatility to the indices, we omit bunkering tankers from our valid port calls
3. Exclude: Ship arrived but not departerd
4. Exclude: Stay in the harbor outside reasonable range for trade activity
- stay in port < 5hrs: unlikely to have enough time to load or unload goods in the port
- sta in port > 60 hrs: Longer stays may be associated with ships visiting the port for repairs or maintenance services.
- Exclude: speed > 1.0 knot
- Exclude: Anchorage and bunkering tankers - remove bunkering tankers
- Fuel supplied to foreign vessels should be recorded as exports of the country according to international standards, although it is recognized that data collection may be challenging.6 Since the inclusion of these tankers introduces considerable volatility to the indices, we omit bunkering tankers from our valid port calls
- Exclude: Ship arrived but not departerd
- Exclude: Stay in the harbor outside reasonable range for trade activity
- stay in port < 5hrs: unlikely to have enough time to load or unload goods in the port
- stay in port > 60 hrs: Longer stays may be associated with ships visiting the port for repairs or maintenance services.
- Indicators:
1. cargo number
2. cargo load
- ![image.png](../images/ais/cargo-formula.png)
- cargo number
- cargo load
- $ CWI_t = \sum_{i}^{} DWT_{i, t} \frac{|d_{i,t}^{D} - d_{i,t}^{A}|}{max(d_{i})} $
- DWT is adjusted with a capacity utilization ratio.

- <a href="https://www.sciencedirect.com/science/article/pii/S1361920920305800"><b> 2020 Science Direct: Port disruptions due to natural disasters: Insights into port and logistics resilience</b><a>
- no mention of how port calls were derived
- ![image.png](../images/ais/port-disruptions.png)
- ![image.png](ais/port-disruptions.png)

- <a href="https://www.imf.org/en/Publications/WP/Issues/2020/05/14/World-Seaborne-Trade-in-Real-Time-A-Proof-of-Concept-for-Building-AIS-based-Nowcasts-from-49393"><b> 2020 IMF: World Seaborne Trade in Real Time</b><a>
- Port boundary:
- SOG < 0.5, && nav status anchored or moored
- SOG < 0.5, \& nav status anchored or moored

- <a href="https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0248818#pone.0248818.s001"><b> 2021 Global economic impacts of COVID-19 lockdown measures stand out in high-frequency shipping data</b><a>
- Port Boundary: manually mapped, berthing + navigation channels
Expand Down
File renamed without changes
File renamed without changes
41 changes: 41 additions & 0 deletions docs/images/interactive/text/sib_ldavis.html

Large diffs are not rendered by default.

77 changes: 68 additions & 9 deletions docs/images/interactive/text/text_presentation.slides.html

Large diffs are not rendered by default.

38 changes: 36 additions & 2 deletions docs/text/intro.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Introduction

An interactive presentation is aviliable at [here](https://worldbank.github.io/pacific-observatory/interactive/text/text_presentation.slides.html).
## Presentation

<div>
<iframe src="https://worldbank.github.io/pacific-observatory/interactive/text/text_presentation.slides.html" frameborder="0" marginwidth="0" marginheight="0" width="800" height="500"></iframe>
</div>

## Economic Policy Uncertainty (EPU) Index

Expand Down Expand Up @@ -31,4 +35,34 @@ Sentiment analysis has been frequently employed in analyzing financial markets a
![Overview](../images/text/sib_econ_sentiment.png)
<sub><sup> Notes: Newspapers include Solomon Stars, Solomon Times, The Island Sun, Solomon Islands Broadcasting Corporation, ABC AU, and RNZ. </sub></sup>
```
````
````

## Topic Extraction

The topic modeling

````{tab-set}
``` {tab-item} Papua New Guinea
<div>
<iframe src="https://worldbank.github.io/pacific-observatory/interactive/text/png_ldavis.html" frameborder="0" marginwidth="0" marginheight="0" width="800" height="800"></iframe>
</div>
```
``` {tab-item} Solomon Islands
<div>
<iframe src="https://worldbank.github.io/pacific-observatory/interactive/text/sib_ldavis.html" frameborder="0" marginwidth="0" marginheight="0" width="800" height="800"></iframe>
</div>
```
````

## Related Search Graph

Google Trends enable us to get a list of top topics that were searched along with the requested term in a specified geographical locations. For example, as displayed in `Job Graph Network`, if one search "jobs in lae" in Papua New Guinea, the related search terms include: **lae biscuit co. Ltd**, **mining**, **nestle**, **kina bank limited**, **Coca-Cola**, and **brewery**. Similarly, the term "job in port moresby" yields **hospitality**, **Waigani**, **officer**, **hilton**, **Stanley hotel & suites**, etc.

````{tab-set}
``` {tab-item} Job Graph Network
<iframe src="https://worldbank.github.io/pacific-observatory/interactive/text/png_job_graph.html" frameborder="0" marginwidth="0" marginheight="0" width="800" height="500"></iframe>
```
``` {tab-item} Price Graph Network
<iframe src="https://worldbank.github.io/pacific-observatory/interactive/text/png_price_graph.html" frameborder="0" marginwidth="0" marginheight="0" width="800" height="500"></iframe>
```
````
90 changes: 78 additions & 12 deletions notebooks/text/text_presentation.ipynb

Large diffs are not rendered by default.

0 comments on commit 6f4c337

Please sign in to comment.