Code Monkey home page Code Monkey logo

Comments (5)

larnsce avatar larnsce commented on September 24, 2024

Thanks, @margauxgo. I will take that over.

from wsabrazil.

larnsce avatar larnsce commented on September 24, 2024

I already had a brief look. You have been very quick with this package, well done.

One item I noticed, which I suggest you rework is your data import and then the separation of columns in your `data_processing.R:

data_in <- read_csv("data-raw/PA_census_data.csv") |>

You have a semicolon ; separated file here. You can use read_csv2() or read_delim(delim = ";") to read the file properly. Then you don't need to separate the columns.

from wsabrazil.

margauxgo avatar margauxgo commented on September 24, 2024

Thanks @larnsce, I just modified that.

Concerning the data format, I am still debating wether to pivot the dataset to long format to group the variables piped_water, well_spring_water, stored_rainwater and other_water_source into a variable named water_supply, the variables bathroom_sewerage, bathroom_septic_tank and bathroom_cesspit into a variable named sanitation and the variables bathroom_ditch, bathroom_waterbodies and bathroom_other into a variable named wastewater, or to keep it in wide format.

For now, I illustrated how to pivot it for simpler analysis in the example and kept it in wide format otherwise.

What do you think?

from wsabrazil.

mianzg avatar mianzg commented on September 24, 2024

Thanks @larnsce, I just modified that.

Concerning the data format, I am still debating wether to pivot the dataset to long format to group the variables piped_water, well_spring_water, stored_rainwater and other_water_source into a variable named water_supply, the variables bathroom_sewerage, bathroom_septic_tank and bathroom_cesspit into a variable named sanitation and the variables bathroom_ditch, bathroom_waterbodies and bathroom_other into a variable named wastewater, or to keep it in wide format.

For now, I illustrated how to pivot it for simpler analysis in the example and kept it in wide format otherwise.

What do you think?

I also had a similar debate: openwashdata/whatawaste#2

I would for now keep it in wide format for now.

from wsabrazil.

mianzg avatar mianzg commented on September 24, 2024
  1. Please refine the 1st figure with more information, e.g. title, x/y-axis label
  2. What is the references directory?

from wsabrazil.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.