Skip to content

Commit

Permalink
prototype metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
defuneste committed Jul 22, 2024
1 parent 4107239 commit f111380
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
21 changes: 21 additions & 0 deletions data/metadata_fcc.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Fields,Description,Census Block,Census Tract,Census Counties,Census Places
geoid_st,char(2),Yes,Yes,Yes,Yes
geoid_cty,char(5),Yes,Yes,Yes,Yes
geoid_tr,char(11),Yes,Yes,Yes,Yes
geoid_pl ,TBD,TBD,TBD,TBD,Yes
geoid_bl,char(15),Yes,NA,NA,NA
cnt_total_locations,count of every locations reported,Yes,Yes,Yes,Yes
cnt_bcat_locations,"count of every locations that are not: low_latency = FALSE/max up/down = 0/technology 60-61-70",Yes,Yes,Yes,Yes
cnt_25_3,count of filtred locations that match 25/3 speeds,Yes,Yes,Yes,Yes
cnt_100_20,count of filtred locations that match 100/20 speeds,Yes,Yes,Yes,Yes
cnt_100_100,count of filtred locations that match 100/100 speeds,Yes,Yes,Yes,Yes
cnt_fiber,count of filtred locations with fiber,Yes,Yes,Yes,Yes
pct_25_3,cnt_100_20/cnt_total_locations,Yes,No,No,No
pct_100_20,cnt_25_3/cnt_total_locations,Yes,No,No,No
bl_100_20_area,Temp logic to determine if block is not_reported/unserved_area/unserved_area/underserved_area/served_area,Yes,No,No,No
bl_25_3_area,Temp logic to determine if block is not_reported/unserved_area/unserved_area/underserved_area/served_area,Yes,No,No,No
category,Determine if block is Not Reported/Unserved/Underserved/Served,Yes,No,No,No
pct_is_fiber,cnt_fiber_locations / cnt_total_locations,Yes,No,No,No
pct_is_underserved,1 - cnt_100_20 / cnt_total_locations,Yes,No,No,No
pct_is_unserved,1 - cnt_25_3 / cnt_total_locations,Yes,No,No,No
geom,"geometry, MultiPolygon, 4269",Yes,No,No,No
22 changes: 22 additions & 0 deletions metadata_raw_nbm.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,28 @@ format:
engine: knitr
---

## DB fields Descriptions

We are storing a transformed FCC's NBM version for differents geographyical units:

- Census blocks
- Census tracts
- Census counties
- Census places (Incomming)

Here we will describe fields used and value stored for each of them:

```{r}
#| label: utility functions
source("R/table_with_options.R")
metadata <- read.csv("data/metadata_fcc.csv")
table_with_options(metadata)
```



## S3 Archive:

We stored the raw data of FCC NBM we downloaded in a s3 bucket.

This is how the structure of the bucket look likes:
Expand Down

0 comments on commit f111380

Please sign in to comment.