Skip to content

Commit afb442f

Browse files
authored
Merge pull request #616 from cmu-delphi/sgratzl/fix_docs
fix relative links in docs to absolute links
2 parents 8ea010b + 6fbb60b commit afb442f

20 files changed

+47
-47
lines changed

docs/api/afhsb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a
3131
| --- | --- | --- |
3232
| `auth` | password | string |
3333
| `epiweeks` | epiweeks | `list` of epiweeks |
34-
| `locations` | locations | `list` of [region](../../labels/regions.txt), [state](../../labels/states.txt), or 3-letter country code labels |
34+
| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt), [state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt), or 3-letter country code labels |
3535
| `flu_types` | flu types | `list` of disjoint (`flu1`, `flu2-flu1`, `flu3-flu2`, `ili-flu3`) or subset (`flu2`, `flu3`, `ili`) flu type labels |
3636

3737
## Response

docs/api/cdc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a
3131
| --- | --- | --- |
3232
| `auth` | password | string |
3333
| `epiweeks` | epiweeks | `list` of epiweeks |
34-
| `locations` | locations | `list` of [region](../../labels/regions.txt)/[state](../../labels/states.txt) labels <!-- TODO: check --> |
34+
| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)/[state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt) labels <!-- TODO: check --> |
3535

3636
## Response
3737

docs/api/covid_hosp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ https://delphi.cmu.edu/epidata/covid_hosp_state_timeseries/?states=MA&dates=2020
143143

144144
# Code Samples
145145

146-
Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R).
146+
Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
147147
The following sample shows how to import the library and fetch MA on 2020-05-10
148148
(per most recent issue).
149149

docs/api/covid_hosp_facility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ https://delphi.cmu.edu/epidata/covid_hosp_facility/?hospital_pks=390119&collecti
190190

191191
# Code Samples
192192

193-
Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R).
193+
Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
194194
The following sample shows how to import the library and fetch Moses Taylor
195195
Hospital (Scranton, PA) on the first collection week of December 2020 (per most
196196
recent issue).

docs/api/covid_hosp_facility_lookup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ https://delphi.cmu.edu/epidata/covid_hosp_facility_lookup/?city=southlake
9999

100100
# Code Samples
101101

102-
Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R).
102+
Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
103103
The following sample shows how to import the library and fetch facilities in
104104
the city of Southlake (TX).
105105

docs/api/covidcast_meta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ https://api.covidcast.cmu.edu/epidata/covidcast_meta/
7373

7474
## Code Samples
7575

76-
Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R).
76+
Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
7777
The following samples show how to import the library and fetch Delphi's COVID-19 Surveillance Streams metadata.
7878

7979
### JavaScript (in a web browser)

docs/api/flusurv.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a
3737
| Parameter | Description | Type |
3838
| --- | --- | --- |
3939
| `epiweeks` | epiweeks | `list` of epiweeks |
40-
| `locations` | locations | `list` of [location](../../labels/flusurv_locations.txt) labels |
40+
| `locations` | locations | `list` of [location](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/flusurv_locations.txt) labels |
4141

4242
### Optional
4343

@@ -105,7 +105,7 @@ https://delphi.cmu.edu/epidata/flusurv/?locations=ca&epiweeks=202001
105105

106106
# Code Samples
107107

108-
Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R).
108+
Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
109109
The following samples show how to import the library and fetch CA FluView Clinical data for epiweeks `201940` and `202001-202010` (11 weeks total).
110110

111111
### JavaScript (in a web browser)

docs/api/fluview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ General topics not specific to any particular endpoint are discussed in the
1818
Influenza-like illness (ILI) from U.S. Outpatient Influenza-like Illness Surveillance Network (ILINet).
1919
- Data source: [United States Centers for Disease Control and Prevention](http://gis.cdc.gov/grasp/fluview/fluportaldashboard.html) (CDC)
2020
- Temporal Resolution: Weekly* from 1997w40
21-
- Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/), [Census divisions](http://www.census.gov/econ/census/help/geography/regions_and_divisions.html), most States and Territories, and some Cities (full list [here](../../src/acquisition/fluview/fluview_locations.py))
21+
- Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/), [Census divisions](http://www.census.gov/econ/census/help/geography/regions_and_divisions.html), most States and Territories, and some Cities (full list [here](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/acquisition/fluview/fluview_locations.py))
2222
- Open access
2323

2424
\* Data is usually released on Friday
@@ -36,7 +36,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a
3636
| Parameter | Description | Type |
3737
| --- | --- | --- |
3838
| `epiweeks` | epiweeks | `list` of epiweeks |
39-
| `regions` | regions | `list` of [region](../../labels/regions.txt) labels |
39+
| `regions` | regions | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt) labels |
4040

4141
### Optional
4242

@@ -120,7 +120,7 @@ https://delphi.cmu.edu/epidata/fluview/?regions=nat&epiweeks=201453&issues=20150
120120

121121
# Code Samples
122122

123-
Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R).
123+
Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
124124
The following samples show how to import the library and fetch national FluView data for epiweeks `201440` and `201501-201510` (11 weeks total).
125125

126126

docs/api/fluview_clinical.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a
3131
| Parameter | Description | Type |
3232
| --- | --- | --- |
3333
| `epiweeks` | epiweeks | `list` of epiweeks |
34-
| `regions` | regions | `list` of [region](../../labels/regions.txt) labels |
34+
| `regions` | regions | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt) labels |
3535

3636
### Optional
3737

@@ -94,7 +94,7 @@ https://delphi.cmu.edu/epidata/fluview_clinical/?regions=nat&epiweeks=202001
9494

9595
# Code Samples
9696

97-
Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R).
97+
Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
9898
The following samples show how to import the library and fetch national FluView Clinical data for epiweeks `201940` and `202001-202010` (11 weeks total).
9999

100100
### JavaScript (in a web browser)

docs/api/gft.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ General topics not specific to any particular endpoint are discussed in the
1818
Estimate of influenza activity based on volume of certain search queries. Google has discontinued Flu Trends, and this is now a static endpoint.
1919
- Source: [Google](https://www.google.org/flutrends/)
2020
- Temporal Resolution: Weekly from 2003w40 until 2015w32
21-
- Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/) ([1+10](../../labels/regions.txt)); by state/territory ([50+1](../../labels/states.txt)); and by city ([97](../../labels/cities.txt))
21+
- Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/) ([1+10](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)); by state/territory ([50+1](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt)); and by city ([97](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/cities.txt))
2222
- Open access
2323

2424
# The API
@@ -34,7 +34,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a
3434
| Parameter | Description | Type |
3535
| --- | --- | --- |
3636
| `epiweeks` | epiweeks | `list` of epiweeks |
37-
| `locations` | locations | `list` of [region](../../labels/regions.txt)/[state](../../labels/states.txt)/[city](../../labels/cities.txt) labels |
37+
| `locations` | locations | `list` of [region](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt)/[state](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt)/[city](https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/cities.txt) labels |
3838

3939
## Response
4040

@@ -69,7 +69,7 @@ https://delphi.cmu.edu/epidata/gft/?locations=nat&epiweeks=201501
6969

7070
# Code Samples
7171

72-
Libraries are available for [JavaScript](../../src/client/delphi_epidata.js), [Python](../../src/client/delphi_epidata.py), and [R](../../src/client/delphi_epidata.R).
72+
Libraries are available for [JavaScript](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/client/delphi_epidata.js), [Python](https://pypi.org/project/delphi-epidata/), and [R](https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/client/delphi_epidata.R).
7373
The following samples show how to import the library and fetch Google Flu Trends data for epiweeks `201440` and `201501-201510` (11 weeks total).
7474

7575
### JavaScript (in a web browser)

0 commit comments

Comments
 (0)