BazerData.jl

Data manipulation utilities for Julia
Log | Files | Refs | README | LICENSE

commit e6ced1466c1ec1f145ab1039239f872abebe6fe3
parent d5ca274e9614aad3387b60ba8f6fcc14b9c4333a
Author: Erik Loualiche <[email protected]>
Date:   Thu, 19 Jun 2025 17:20:49 -0500

trying to fix CI

Diffstat:
D.github/dependabot.yml | 7-------
D.github/workflows/CI.yml | 43-------------------------------------------
D.github/workflows/CompatHelper.yml | 16----------------
D.github/workflows/Documentation.yaml | 57---------------------------------------------------------
D.github/workflows/Documenter.yml | 51---------------------------------------------------
D.github/workflows/TagBot.yml | 31-------------------------------
MREADME.md | 14++++++++------
Mdocs/make.jl | 11++---------
8 files changed, 10 insertions(+), 220 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml @@ -1,7 +0,0 @@ -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" # Location of package manifests - schedule: - interval: "weekly" diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml @@ -1,43 +0,0 @@ -name: CI -on: - push: - branches: - - main - tags: ['*'] - pull_request: -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} -jobs: - test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - version: - - '1.11' - - 'nightly' - os: - - ubuntu-latest - arch: - - x64 - steps: - - uses: actions/checkout@v3 - - uses: julia-actions/setup-julia@v1 - with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@latest - env: - DATADEPS_ALWAYS_ACCEPT: true - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.CODECOV_TOKEN }} # required - fail_ci_if_error: false - file: lcov.info diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml @@ -1,16 +0,0 @@ -name: CompatHelper -on: - schedule: - - cron: 0 0 * * * - workflow_dispatch: -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - - name: CompatHelper.main() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} - run: julia -e 'using CompatHelper; CompatHelper.main()' diff --git a/.github/workflows/Documentation.yaml b/.github/workflows/Documentation.yaml @@ -1,57 +0,0 @@ -name: Documentation - -on: - push: - branches: - - main - tags: '*' - pull_request: - -jobs: - build: - permissions: - actions: write - contents: write - pull-requests: read - statuses: write - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 - with: - version: '1' - - uses: julia-actions/cache@v2 - - name: Install dependencies - run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - - name: Build and deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token - GKSwstype: "100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988 - run: julia --project=docs/ docs/make.jl - - - - - - - -# jobs: -# doc-preview-cleanup: -# runs-on: ubuntu-latest -# steps: -# - name: Checkout gh-pages branch -# uses: actions/checkout@v2 -# with: -# ref: gh-pages -# - name: Delete preview and history + push changes -# run: | -# if [ -d "previews/PR$PRNUM" ]; then -# git config user.name "EL" -# git config user.email "[email protected]" -# git rm -rf "previews/PR$PRNUM" -# git commit -m "delete preview" -# git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree}) -# git push --force origin gh-pages-new:gh-pages -# fi -# env: -# PRNUM: ${{ github.event.number }} diff --git a/.github/workflows/Documenter.yml b/.github/workflows/Documenter.yml @@ -1,51 +0,0 @@ -# Sample workflow for building and deploying a VitePress site to GitHub Pages - -name: Documenter - -on: - # Runs on pushes targeting the `master` branch. Change this to `main` if you're - # using the `main` branch as the default branch. - push: - branches: - - master - tags: ['*'] - pull_request: - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: write - pages: write - id-token: write - statuses: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: pages - cancel-in-progress: false - -jobs: - # Build job - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Julia - uses: julia-actions/setup-julia@v1 - - name: Pull Julia cache - uses: julia-actions/cache@v1 - - name: Install documentation dependencies - run: julia --project=docs -e 'using Pkg; pkg"dev ."; Pkg.instantiate(); Pkg.precompile(); Pkg.status()' - #- name: Creating new mds from src - - name: Build and deploy docs - uses: julia-actions/julia-docdeploy@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key - GKSwstype: "100" # for Plots.jl plots (if you have them) - JULIA_DEBUG: "Documenter" - DATADEPS_ALWAYS_ACCEPT: true diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml @@ -1,31 +0,0 @@ -name: TagBot -on: - issue_comment: - types: - - created - workflow_dispatch: - inputs: - lookback: - default: "3" -permissions: - actions: read - checks: read - contents: write - deployments: read - issues: read - discussions: read - packages: read - pages: read - pull-requests: read - repository-projects: read - security-events: read - statuses: read -jobs: - TagBot: - if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' - runs-on: ubuntu-latest - steps: - - uses: JuliaRegistries/TagBot@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - ssh: ${{ secrets.DOCUMENTER_KEY }} diff --git a/README.md b/README.md @@ -20,14 +20,17 @@ The readme serves as documentation; there might be more examples inside of the t ## Installation -`BazerData.jl` is a a registered package. You can install it from github via the julia package manager +`BazerData.jl` is now a registered package. You can install from the main julia registry via the julia package manager ```julia -import Pkg; Pkg.add("BazerData.jl") +> import Pkg; Pkg.add("BazerData.jl") # or in package mode in the REPL pkg> add BazerData +# or from the main github branch +> import Pkg; Pkg.add("https://github.com/louloulibs/BazerData.jl#main") ``` + ## Usage ### Tabulate data @@ -125,7 +128,6 @@ tlag(x, t, n=Day(2)) # specify two-day lags See my other package - - [BazerUtils.jl](https://github.com/eloualiche/BazerUtils.jl) which groups together data wrangling functions. - - [FinanceRoutines.jl](https://github.com/eloualiche/FinanceRoutines.jl) which is more focused and centered on working with financial data. - - [TigerFetch.jl](https://github.com/eloualiche/TigerFetch.jl) which simplifies downloading shape files from the Census. - - [Prototypes.jl](https://github.com/eloualiche/Prototypes.jl) which used to host all these functions + - [BazerUtils.jl](https://github.com/louloulibs/BazerUtils.jl) which groups together data wrangling functions. + - [FinanceRoutines.jl](https://github.com/louloulibs/FinanceRoutines.jl) which is more focused and centered on working with financial data. + - [TigerFetch.jl](https://github.com/louloulibs/TigerFetch.jl) which simplifies downloading shape files from the Census. diff --git a/docs/make.jl b/docs/make.jl @@ -54,7 +54,7 @@ makedocs( deploydocs(; - repo = "github.com/eloualiche/BazerData.jl", + repo = "github.com/louloulibs/BazerData.jl", target = "build", # this is where Vitepress stores its output # devbranch = "main", branch = "gh-pages", @@ -64,13 +64,6 @@ deploydocs(; deploydocs(; - repo = "github.com/eloualiche/BazerData.jl", + repo = "github.com/louloulibs/BazerData.jl", devbranch = "build", ) - -# deploydocs(; -# repo = "github.com/eloualiche/BazerData.jl", -# target = "build", -# branch = "gh-pages", -# ) -