Skip to content

Commit

Permalink
Stop pulling current legislators temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
dscush committed Jan 15, 2025
1 parent a0b56ba commit 86ed5af
Show file tree
Hide file tree
Showing 4 changed files with 3,771 additions and 632 deletions.
3 changes: 3 additions & 0 deletions processData/downloadAndBuildData/buildLegislationData.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ const finalTags = Object.values(tagMap)

const normalizeBillNumber = (billNumber) => billNumber.replace(/[.\s]/g, '')
const normalizeTags = (tagString) => {
if (tagString === undefined) {
return []
}
const tags = tagString
.split(',')
.map((tag) => tag.trim())
Expand Down
2 changes: 1 addition & 1 deletion processData/downloadAndBuildData/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const downloadAndBuildData = async () => {
// process into json tree
const processedData = buildLegislationData()
// fetch legislator details from openStates
await updateLegislatorData()
// await updateLegislatorData()

fs.writeFileSync(
`${__dirname}/../../src/data/legislation.json`,
Expand Down
2 changes: 1 addition & 1 deletion processData/downloadAndBuildData/tmp/2023.json

Large diffs are not rendered by default.

Loading

0 comments on commit 86ed5af

Please sign in to comment.