Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Mar 7, 2024
1 parent 0b5d9ad commit b132e6d
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ab4f9596
b6b5bb19
42 changes: 40 additions & 2 deletions fcc_funding.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,46 @@ <h2 class="anchored" data-anchor-id="list-of-dataset-avalaible-07-03-2024">List
<span id="cb2-45"><a href="#cb2-45" aria-hidden="true" tabindex="-1"></a><span class="fu">table_with_options</span>(fcc_all_dat)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
<div class="cell-output-display">
<div class="datatables html-widget html-fill-item" id="htmlwidget-a9c6ed0f7b00f45666eb" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-a9c6ed0f7b00f45666eb">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["Federal Communications Commission","Federal Communications Commission","Federal Communications Commission","Federal Communications Commission","Federal Communications Commission","NTIA","NTIA","Rural Utilities Service","Rural Utilities Service","Rural Utilities Service","US Department of Treasury","US Department of Treasury"],["Bringing Puerto Rico Together","Connect America Fund Phase II","Connect USVI","Enhanced Alternative Connect America Cost Model","Rural Digital Opportunity Fund","Broadband Infrastructure Program","Tribal Broadband Connectivity Program NOFO 1","COMMUNITY CONNECT GRANT PROGRAM","RURAL ECONNECTIVITY PROGRAM","TELEPHONE LOAN PROGRAM","Capital Projects Fund","State and Local Fiscal Recovery Fund"],["25","28","26","35","24","11","27","10","6","12","18","19"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th>agency_name<\/th>\n <th>program_name<\/th>\n <th>program_id<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"Blfrtip","buttons":["copy","print",{"extend":"collection","buttons":["csv","excel"],"text":"Download"}],"columnDefs":[{"name":"agency_name","targets":0},{"name":"program_name","targets":1},{"name":"program_id","targets":2}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
<div class="datatables html-widget html-fill-item" id="htmlwidget-b036b9fb3c4bc56ca4a2" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-b036b9fb3c4bc56ca4a2">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["Federal Communications Commission","Federal Communications Commission","Federal Communications Commission","Federal Communications Commission","Federal Communications Commission","NTIA","NTIA","Rural Utilities Service","Rural Utilities Service","Rural Utilities Service","US Department of Treasury","US Department of Treasury"],["Bringing Puerto Rico Together","Connect America Fund Phase II","Connect USVI","Enhanced Alternative Connect America Cost Model","Rural Digital Opportunity Fund","Broadband Infrastructure Program","Tribal Broadband Connectivity Program NOFO 1","COMMUNITY CONNECT GRANT PROGRAM","RURAL ECONNECTIVITY PROGRAM","TELEPHONE LOAN PROGRAM","Capital Projects Fund","State and Local Fiscal Recovery Fund"],["25","28","26","35","24","11","27","10","6","12","18","19"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th>agency_name<\/th>\n <th>program_name<\/th>\n <th>program_id<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"Blfrtip","buttons":["copy","print",{"extend":"collection","buttons":["csv","excel"],"text":"Download"}],"columnDefs":[{"name":"agency_name","targets":0},{"name":"program_name","targets":1},{"name":"program_id","targets":2}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
</div>
<details class="code-fold">
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="co"># ls &gt; path/to/list_file_fcc_feb2024.txt</span></span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a>fcc_files <span class="ot">&lt;-</span> <span class="fu">readLines</span>(<span class="st">"data/list_file_fcc_feb2024.txt"</span>)</span>
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a><span class="co"># remove zip</span></span>
<span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a>fcc_files_slim <span class="ot">&lt;-</span> fcc_files[<span class="sc">!</span><span class="fu">grepl</span>(<span class="st">".zip"</span>, fcc_files)]</span>
<span id="cb3-5"><a href="#cb3-5" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-6"><a href="#cb3-6" aria-hidden="true" tabindex="-1"></a>fcc_files_tidy <span class="ot">&lt;-</span> <span class="fu">as.data.frame</span>(</span>
<span id="cb3-7"><a href="#cb3-7" aria-hidden="true" tabindex="-1"></a> <span class="fu">do.call</span>(rbind, </span>
<span id="cb3-8"><a href="#cb3-8" aria-hidden="true" tabindex="-1"></a> <span class="fu">strsplit</span>(fcc_files_slim, <span class="st">"_"</span>))</span>
<span id="cb3-9"><a href="#cb3-9" aria-hidden="true" tabindex="-1"></a>)</span>
<span id="cb3-10"><a href="#cb3-10" aria-hidden="true" tabindex="-1"></a><span class="co"># remove programdata, but it is nice to see for every files </span></span>
<span id="cb3-11"><a href="#cb3-11" aria-hidden="true" tabindex="-1"></a>fcc_files_tidy <span class="ot">&lt;-</span> fcc_files_tidy[fcc_files_tidy[[<span class="st">"V1"</span>]] <span class="sc">!=</span> <span class="st">"programdata"</span>,]</span>
<span id="cb3-12"><a href="#cb3-12" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-13"><a href="#cb3-13" aria-hidden="true" tabindex="-1"></a>fcc_files_tidy[[<span class="st">"program_id"</span>]] <span class="ot">&lt;-</span> <span class="fu">gsub</span>(<span class="st">"program"</span>, <span class="st">""</span>, fcc_files_tidy[[<span class="st">"V2"</span>]])</span>
<span id="cb3-14"><a href="#cb3-14" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-15"><a href="#cb3-15" aria-hidden="true" tabindex="-1"></a>fcc_files_tidy[[<span class="st">"is_area"</span>]] <span class="ot">&lt;-</span> <span class="fu">grepl</span>(<span class="st">"area"</span>, fcc_files_tidy[[<span class="st">"V1"</span>]])</span>
<span id="cb3-16"><a href="#cb3-16" aria-hidden="true" tabindex="-1"></a><span class="co"># works for now but will breack if I have the third type of project</span></span>
<span id="cb3-17"><a href="#cb3-17" aria-hidden="true" tabindex="-1"></a>fcc_files_tidy[[<span class="st">"type_proj"</span>]] <span class="ot">&lt;-</span> <span class="fu">ifelse</span>(fcc_files_tidy[[<span class="st">"is_area"</span>]], <span class="st">"area"</span>, <span class="st">"location"</span>)</span>
<span id="cb3-18"><a href="#cb3-18" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-19"><a href="#cb3-19" aria-hidden="true" tabindex="-1"></a>type_proj_temp <span class="ot">&lt;-</span> <span class="fu">sapply</span>(<span class="fu">split</span>(fcc_files_tidy[[<span class="st">"type_proj"</span>]], </span>
<span id="cb3-20"><a href="#cb3-20" aria-hidden="true" tabindex="-1"></a> fcc_files_tidy[[<span class="st">"program_id"</span>]]), </span>
<span id="cb3-21"><a href="#cb3-21" aria-hidden="true" tabindex="-1"></a> unique)</span>
<span id="cb3-22"><a href="#cb3-22" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-23"><a href="#cb3-23" aria-hidden="true" tabindex="-1"></a>type_proj <span class="ot">&lt;-</span> <span class="fu">data.frame</span>(</span>
<span id="cb3-24"><a href="#cb3-24" aria-hidden="true" tabindex="-1"></a> <span class="at">program_id =</span> <span class="fu">names</span>(type_proj_temp),</span>
<span id="cb3-25"><a href="#cb3-25" aria-hidden="true" tabindex="-1"></a> <span class="at">type_proj =</span> type_proj_temp </span>
<span id="cb3-26"><a href="#cb3-26" aria-hidden="true" tabindex="-1"></a>)</span>
<span id="cb3-27"><a href="#cb3-27" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-28"><a href="#cb3-28" aria-hidden="true" tabindex="-1"></a>fcc_all_dat <span class="ot">&lt;-</span> <span class="fu">merge</span>(fcc_all_dat, type_proj,</span>
<span id="cb3-29"><a href="#cb3-29" aria-hidden="true" tabindex="-1"></a> <span class="at">by.x =</span> <span class="st">"program_id"</span>, <span class="at">by.y =</span> <span class="st">"program_id"</span>, </span>
<span id="cb3-30"><a href="#cb3-30" aria-hidden="true" tabindex="-1"></a> <span class="at">all.x =</span> <span class="cn">TRUE</span>, <span class="at">all.y =</span> <span class="cn">TRUE</span>)</span>
<span id="cb3-31"><a href="#cb3-31" aria-hidden="true" tabindex="-1"></a><span class="fu">table_with_options</span>(fcc_all_dat)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
<div class="cell-output-display">
<div class="datatables html-widget html-fill-item" id="htmlwidget-20d2ddbee5175800f61e" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-20d2ddbee5175800f61e">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["10","11","12","18","19","24","25","26","27","28","35","6"],["Rural Utilities Service","NTIA","Rural Utilities Service","US Department of Treasury","US Department of Treasury","Federal Communications Commission","Federal Communications Commission","Federal Communications Commission","NTIA","Federal Communications Commission","Federal Communications Commission","Rural Utilities Service"],["COMMUNITY CONNECT GRANT PROGRAM","Broadband Infrastructure Program","TELEPHONE LOAN PROGRAM","Capital Projects Fund","State and Local Fiscal Recovery Fund","Rural Digital Opportunity Fund","Bringing Puerto Rico Together","Connect USVI","Tribal Broadband Connectivity Program NOFO 1","Connect America Fund Phase II","Enhanced Alternative Connect America Cost Model","RURAL ECONNECTIVITY PROGRAM"],["area","area","area","location","location","area","area","area","area","area","area","area"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th>program_id<\/th>\n <th>agency_name<\/th>\n <th>program_name<\/th>\n <th>type_proj<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"Blfrtip","buttons":["copy","print",{"extend":"collection","buttons":["csv","excel"],"text":"Download"}],"columnDefs":[{"name":"program_id","targets":0},{"name":"agency_name","targets":1},{"name":"program_name","targets":2},{"name":"type_proj","targets":3}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
</div>
</div>

Expand Down
60 changes: 30 additions & 30 deletions isp_eda.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ntia_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ <h2 class="anchored" data-anchor-id="excluding-dsl-service">Excluding DSL servic
<span id="cb3-20"><a href="#cb3-20" aria-hidden="true" tabindex="-1"></a><span class="fu">table_with_options</span>(easy_table)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
<div class="cell-output-display">
<div class="datatables html-widget html-fill-item" id="htmlwidget-df4bed48def9d21d89a1" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-df4bed48def9d21d89a1">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming","American Samoa","Guam","Northern Mariana Islands","Puerto Rico","U.S. Virgin Islands"],["01","02","04","05","06","08","09","10","11","12","13","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","44","45","46","47","48","49","50","51","53","54","55","56","60","66","69","72","78"],[185976,28568,155444,136422,519723,140345,49926,20198,6012,390066,232717,14732,81879,369978,204568,175199,172529,132662,142874,47138,83827,107278,254730,198705,112241,253632,88417,119103,57409,31948,137972,107215,288819,236638,84566,276428,180154,130807,336985,25649,146844,71383,179717,668757,71207,24611,163491,158093,72558,203059,53769,565,1816,873,41987,2657],[7199,1227,9494,5478,13461,10640,40,476,3,8622,7716,71,6752,15956,7882,11188,12375,4803,6156,3203,1433,164,7396,8203,4037,9359,6040,7234,1122,834,166,7340,1227,7831,383,6728,12655,5785,5598,26,3957,2393,3514,21624,1793,2745,4763,6233,2673,20289,2723,256,526,3,1198,0],[7818,1316,9779,6012,13852,10884,40,476,3,10613,10997,71,6902,16262,8183,13733,12598,6495,6264,3322,1433,165,7516,8493,4397,9359,6042,8199,1590,854,167,7882,1355,8391,384,6949,14708,6031,6785,26,4191,2544,3919,24515,1877,2858,4868,7059,2674,21178,2813,256,1097,507,1198,0],[619,89,285,534,391,244,0,0,0,1991,3281,0,150,306,301,2545,223,1692,108,119,0,1,120,290,360,0,2,965,468,20,1,542,128,560,1,221,2053,246,1187,0,234,151,405,2891,84,113,105,826,1,889,90,0,571,504,0,0],[2176002,281309,2696640,1359311,10224300,1968886,1091195,401523,123208,7426863,3796648,308967,738037,4166670,2713360,1372819,1204229,1851005,1875873,631930,1857192,1954671,4076669,2098318,1319976,2509891,488043,797960,983845,518391,2578933,860769,4715750,4273900,348661,4515985,1698280,1504496,4848216,339030,2153216,399171,2730981,9844791,1018752,285333,2920197,2540953,906872,2313423,262998,8794,36960,9760,1179988,32285],[78176,22844,109432,64638,147946,88608,1289,9207,5,122914,100898,837,63772,90364,58375,63830,47106,64020,72988,39578,19537,4140,87029,70500,40605,68915,47088,29865,11247,10903,2828,59995,13033,135892,1428,87118,104337,61723,53008,382,55820,12008,44527,233210,20438,30498,67255,76110,28803,198104,20940,7032,18792,12,32119,0],[83428,24209,111689,69544,152880,90980,1289,9207,5,141878,128679,837,65078,92960,60942,78835,48057,79849,74118,40549,19537,4143,88456,73373,43212,68915,47103,34256,15668,11072,2831,64039,14210,141758,1431,90055,118569,63143,59970,382,57932,13220,47047,253384,21132,31284,68204,83471,28807,203053,21439,7032,33513,8005,32119,0]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th>United.States.of.America<\/th>\n <th>geoid_st<\/th>\n <th>number_block<\/th>\n <th>cnt_underserved_block<\/th>\n <th>cnt_underserved_block_dsl_excluded<\/th>\n <th>diff_block<\/th>\n <th>cnt_total_locations<\/th>\n <th>cnt_underserved<\/th>\n <th>cnt_loc_underserved_dsl_excluded<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"Blfrtip","buttons":["copy","print",{"extend":"collection","buttons":["csv","excel"],"text":"Download"}],"columnDefs":[{"className":"dt-right","targets":[2,3,4,5,6,7,8]},{"name":"United.States.of.America","targets":0},{"name":"geoid_st","targets":1},{"name":"number_block","targets":2},{"name":"cnt_underserved_block","targets":3},{"name":"cnt_underserved_block_dsl_excluded","targets":4},{"name":"diff_block","targets":5},{"name":"cnt_total_locations","targets":6},{"name":"cnt_underserved","targets":7},{"name":"cnt_loc_underserved_dsl_excluded","targets":8}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
<div class="datatables html-widget html-fill-item" id="htmlwidget-f5fddbbbf06215849cc1" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-f5fddbbbf06215849cc1">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming","American Samoa","Guam","Northern Mariana Islands","Puerto Rico","U.S. Virgin Islands"],["01","02","04","05","06","08","09","10","11","12","13","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","44","45","46","47","48","49","50","51","53","54","55","56","60","66","69","72","78"],[185976,28568,155444,136422,519723,140345,49926,20198,6012,390066,232717,14732,81879,369978,204568,175199,172529,132662,142874,47138,83827,107278,254730,198705,112241,253632,88417,119103,57409,31948,137972,107215,288819,236638,84566,276428,180154,130807,336985,25649,146844,71383,179717,668757,71207,24611,163491,158093,72558,203059,53769,565,1816,873,41987,2657],[7199,1227,9494,5478,13461,10640,40,476,3,8622,7716,71,6752,15956,7882,11188,12375,4803,6156,3203,1433,164,7396,8203,4037,9359,6040,7234,1122,834,166,7340,1227,7831,383,6728,12655,5785,5598,26,3957,2393,3514,21624,1793,2745,4763,6233,2673,20289,2723,256,526,3,1198,0],[7818,1316,9779,6012,13852,10884,40,476,3,10613,10997,71,6902,16262,8183,13733,12598,6495,6264,3322,1433,165,7516,8493,4397,9359,6042,8199,1590,854,167,7882,1355,8391,384,6949,14708,6031,6785,26,4191,2544,3919,24515,1877,2858,4868,7059,2674,21178,2813,256,1097,507,1198,0],[619,89,285,534,391,244,0,0,0,1991,3281,0,150,306,301,2545,223,1692,108,119,0,1,120,290,360,0,2,965,468,20,1,542,128,560,1,221,2053,246,1187,0,234,151,405,2891,84,113,105,826,1,889,90,0,571,504,0,0],[2176002,281309,2696640,1359311,10224300,1968886,1091195,401523,123208,7426863,3796648,308967,738037,4166670,2713360,1372819,1204229,1851005,1875873,631930,1857192,1954671,4076669,2098318,1319976,2509891,488043,797960,983845,518391,2578933,860769,4715750,4273900,348661,4515985,1698280,1504496,4848216,339030,2153216,399171,2730981,9844791,1018752,285333,2920197,2540953,906872,2313423,262998,8794,36960,9760,1179988,32285],[78176,22844,109432,64638,147946,88608,1289,9207,5,122914,100898,837,63772,90364,58375,63830,47106,64020,72988,39578,19537,4140,87029,70500,40605,68915,47088,29865,11247,10903,2828,59995,13033,135892,1428,87118,104337,61723,53008,382,55820,12008,44527,233210,20438,30498,67255,76110,28803,198104,20940,7032,18792,12,32119,0],[83428,24209,111689,69544,152880,90980,1289,9207,5,141878,128679,837,65078,92960,60942,78835,48057,79849,74118,40549,19537,4143,88456,73373,43212,68915,47103,34256,15668,11072,2831,64039,14210,141758,1431,90055,118569,63143,59970,382,57932,13220,47047,253384,21132,31284,68204,83471,28807,203053,21439,7032,33513,8005,32119,0]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th>United.States.of.America<\/th>\n <th>geoid_st<\/th>\n <th>number_block<\/th>\n <th>cnt_underserved_block<\/th>\n <th>cnt_underserved_block_dsl_excluded<\/th>\n <th>diff_block<\/th>\n <th>cnt_total_locations<\/th>\n <th>cnt_underserved<\/th>\n <th>cnt_loc_underserved_dsl_excluded<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"Blfrtip","buttons":["copy","print",{"extend":"collection","buttons":["csv","excel"],"text":"Download"}],"columnDefs":[{"className":"dt-right","targets":[2,3,4,5,6,7,8]},{"name":"United.States.of.America","targets":0},{"name":"geoid_st","targets":1},{"name":"number_block","targets":2},{"name":"cnt_underserved_block","targets":3},{"name":"cnt_underserved_block_dsl_excluded","targets":4},{"name":"diff_block","targets":5},{"name":"cnt_total_locations","targets":6},{"name":"cnt_underserved","targets":7},{"name":"cnt_loc_underserved_dsl_excluded","targets":8}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
</div>
</div>
</section>
Expand Down
Loading

0 comments on commit b132e6d

Please sign in to comment.