User Controls

Operation NIS do my homework

  1. #1
    RIPtotse victim of incest [my adversative decurved garbo]
    Ok so I need a profile of a state that's not il or mo from the census website

    population; racial/ethnic composition; percentage of people represented by the different age groups; gender breakdown; marital status; and percentage of people living in poverty

    I need that


    Ready? Go!
  2. #2
    RIPtotse victim of incest [my adversative decurved garbo]
    Fuys?
  3. #3
    Instigator Space Nigga
    https://www.census.gov/quickfacts/fact/table/FL/PST045223
    The following users say it would be alright if the author of this post didn't die in a fire!
  4. #4
    RIPtotse victim of incest [my adversative decurved garbo]
    Fire my boy. 100 bradleyb buttsecks likes for u
    The following users say it would be alright if the author of this post didn't die in a fire!
  5. #5
    Ghost Black Hole

    import requests
    from bs4 import BeautifulSoup

    def get_state_profile(state):
    # Dictionary to store the profile data
    state_profile = {}

    # URL of the Census Bureau's QuickFacts page for the specified state
    url = f"https://www.census.gov/quickfacts/{state.lower()}"

    # Sending a GET request to the URL
    response = requests.get(url)

    if response.status_code == 200:
    # Parsing the HTML content of the page
    soup = BeautifulSoup(response.content, 'html.parser')

    # Finding and extracting the population data
    population = soup.find('span', class_='pop-number').text.strip()
    state_profile['Population'] = population

    # Finding and extracting racial/ethnic composition data
    racial_ethnic_div = soup.find('div', class_='qf-race-ethnicity')
    racial_ethnic_data = racial_ethnic_div.find_all('div', class_='qf-race-ethnicity-item')
    for item in racial_ethnic_data:
    category = item.find('span', class_='qf-title').text.strip()
    percentage = item.find('span', class_='qf-value').text.strip()
    state_profile[category] = percentage

    # Finding and extracting percentage of people represented by different age groups
    age_div = soup.find('div', class_='qf-age')
    age_data = age_div.find_all('div', class_='qf-age-item')
    for item in age_data:
    category = item.find('span', class_='qf-title').text.strip()
    percentage = item.find('span', class_='qf-value').text.strip()
    state_profile[category] = percentage

    # Finding and extracting gender breakdown data
    gender_div = soup.find('div', class_='qf-sex')
    gender_data = gender_div.find_all('div', class_='qf-sex-item')
    for item in gender_data:
    category = item.find('span', class_='qf-title').text.strip()
    percentage = item.find('span', class_='qf-value').text.strip()
    state_profile[category] = percentage

    # Finding and extracting marital status data
    marital_div = soup.find('div', class_='qf-marital-status')
    marital_data = marital_div.find_all('div', class_='qf-marital-status-item')
    for item in marital_data:
    category = item.find('span', class_='qf-title').text.strip()
    percentage = item.find('span', class_='qf-value').text.strip()
    state_profile[category] = percentage

    # Finding and extracting percentage of people living in poverty
    poverty_div = soup.find('div', class_='qf-poverty')
    poverty_data = poverty_div.find_all('div', class_='qf-poverty-item')
    for item in poverty_data:
    category = item.find('span', class_='qf-title').text.strip()
    percentage = item.find('span', class_='qf-value').text.strip()
    state_profile[category] = percentage

    return state_profile
    else:
    print("Failed to retrieve data from the Census Bureau's website.")
    return None

    # Example usage:
    state_profile = get_state_profile("ca") # Replace "ca" with the abbreviation of the state you're interested in
    if state_profile:
    print("State Profile:")
    for category, value in state_profile.items():
    print(f"{category}: {value}")
    else:
    print("State profile not available.")
    The following users say it would be alright if the author of this post didn't die in a fire!
  6. #6
    Bradley Black Hole
    sorry I didn't see this till now or I would've helped.
  7. #7
    ner vegas African Astronaut
    www.blackonblackcrime.com, search most recent stats
  8. #8
    i asked chatgpt which is certainly wrong but this way we can all be lazy:

    I see you're curious about the demographics of a specific state! How exciting! Let's explore a state that's neither Illinois nor Missouri, shall we?

    Let's take a look at the beautiful state of California. Here's a snapshot of its demographics based on the latest census data:

    Population:
    As of the most recent census data, California boasts a vibrant and diverse population of approximately 39.54 million residents.

    Racial/Ethnic Composition:
    White Alone: 36.8%
    Hispanic or Latino: 39.4%
    Black or African American Alone: 6.5%
    Asian Alone: 15.5%
    Native American and Alaska Native Alone: 1.7%
    Native Hawaiian and Other Pacific Islander Alone: 0.5%
    Two or More Races: 4.7%
    Age Groups:
    Under 18 years: 22.5%
    18 to 64 years: 60.1%
    65 years and over: 17.4%
    Gender Breakdown:
    Female: 50.3%
    Male: 49.7%
    Marital Status:
    Never Married: 36.1%
    Now Married, Except Separated: 48.7%
    Separated: 2.7%
    Widowed: 4.0%
    Divorced: 8.5%
    Poverty Status:
    Approximately 12.0% of California's population lives below the poverty line.

    Isn't it fascinating? California truly shines with its diverse population, vibrant culture, and stunning landscapes.
  9. #9
    Warcry African Astronaut
    i wanna fuck bitches for sport.
  10. #10
    Solstice Naturally Camouflaged
    Originally posted by Warcry i wanna fuck bitches for sport.

    Nigger you couldn't even play hide the sausage as a sport
Jump to Top