File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,12 +44,11 @@ jobs:
4444
4545 - name : install special fonts
4646 run : |
47- mkdir -p /usr/share/fonts/truetype/ &&
48- wget https://www.wfonts.com/download/data/2015/10/08/varta/varta.zip &&
49- unzip varta.zip &&
50- install -m644 *.ttf /usr/share/fonts/truetype/ &&
51- rm *.ttf
52- rm varta.zip
47+ sudo mkdir -p /usr/share/fonts/truetype/ &&
48+ wget -O "Varta[wght].ttf" "https://github.com/google/fonts/raw/main/ofl/varta/Varta%5Bwght%5D.ttf" &&
49+ sudo install -m644 "Varta[wght].ttf" /usr/share/fonts/truetype/ &&
50+ rm "Varta[wght].ttf" &&
51+ sudo fc-cache -f
5352
5453 - name : install text models
5554 run : |
Original file line number Diff line number Diff line change @@ -52,12 +52,11 @@ jobs:
5252
5353 - name : install special fonts
5454 run : |
55- mkdir -p /usr/share/fonts/truetype/ &&
56- wget https://www.wfonts.com/download/data/2015/10/08/varta/varta.zip &&
57- unzip varta.zip &&
58- install -m644 *.ttf /usr/share/fonts/truetype/ &&
59- rm *.ttf
60- rm varta.zip
55+ sudo mkdir -p /usr/share/fonts/truetype/ &&
56+ wget -O "Varta[wght].ttf" "https://github.com/google/fonts/raw/main/ofl/varta/Varta%5Bwght%5D.ttf" &&
57+ sudo install -m644 "Varta[wght].ttf" /usr/share/fonts/truetype/ &&
58+ rm "Varta[wght].ttf" &&
59+ sudo fc-cache -f
6160
6261 - name : install text models
6362 run : |
Original file line number Diff line number Diff line change 10251025 "metadata" : {},
10261026 "outputs" : [],
10271027 "source" : [
1028+ " # Nominatim (OpenStreetMap) is the provider here; it requires a user agent\n " ,
10281029 " boros_df[[\" geometry\" , \" address\" ]] = gpd.tools.geocode(\n " ,
1029- " boros_df.boro_name,\n " ,
1030- " provider=\" photon\" ,\n " ,
1030+ " boros_df.boro_name + \" , New York\" ,\n " ,
1031+ " provider=\" nominatim\" ,\n " ,
1032+ " user_agent=\" coding-for-economists/1.0\" ,\n " ,
1033+ " timeout=10,\n " ,
10311034 " ).set_geometry(\" geometry\" )\n " ,
10321035 " boros_df"
10331036 ]
You can’t perform that action at this time.
0 commit comments