pdil / usmapdata Goto Github PK
View Code? Open in Web Editor NEW🗺 Data repository for the usmap R package
Home Page: https://usmap.dev
License: GNU General Public License v3.0
🗺 Data repository for the usmap R package
Home Page: https://usmap.dev
License: GNU General Public License v3.0
Builds are failing due to the lack of documentation for the regions
parameter of centroid_labels
:
Warning: Undocumented arguments in documentation object 'centroid_labels'
Execution halted
‘regions’
Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
The following workflows and actions are affected:
lintr
actions/checkout@v3
➡️ @v4
github/codeql-action/upload-sarif@v2
➡️ @v3
(CodeQL deprecation)R-cmd-check
actions/checkout@v3
➡️ @v4
test-coverage
actions/checkout@v3
➡️ @v4
actions/checkout@v3
is due to the Node.js 16 deprecation
See also related change: #23
Currently the process of updating shapefiles is only semi-automated. While there are scripts in the data-raw
folder that will convert US Census Bureau shapefiles into data frames readable by usmapdata
, it is still a process that requires manual checking of the census website and downloading the appropriate files.
In order to provide for more timely updates to shapefiles as new ones are released, it would be beneficial to create (or attempt to create) a fully automated process that can check the relevant website(s), download the files, and create the csv data files automatically.
GitHub Actions workflows can be used to facilitate this:
usmapdata
*Monitoring and download can be done with either shell, python, or R scripts - whichever is more ergonomic for the given task
Function and documentation were copied over straight from usmap
package so some references are either broken or don't make sense
The update-map-data workflow is currently using actions/setup-python@v4
. This should be updated to @v5
to resolve this warning:
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Replace with "map data files" as this is more general in case the underlying files change from shapefiles in the future (also it sometimes triggers a spelling error in R CMD check
).
As part of this, check instances of this word in the documentation to see if "map data files" is more applicable or if "shapefiles" really is the best word to use.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.